Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

PyInstaller packing into Linux/macOS on Windows #93

Open
pwyq opened this issue Dec 7, 2020 · 4 comments
Open

PyInstaller packing into Linux/macOS on Windows #93

pwyq opened this issue Dec 7, 2020 · 4 comments

Comments

@pwyq
Copy link
Member

pwyq commented Dec 7, 2020

No description provided.

@pwyq
Copy link
Member Author

pwyq commented Dec 7, 2020

Ok, based on my search, an OS's app can only be packed on its own machine.
To pack cross-platform, we have to use docker.

src

@pwyq
Copy link
Member Author

pwyq commented Dec 7, 2020

blocked by cdrx/docker-pyinstaller#86

@pwyq
Copy link
Member Author

pwyq commented Dec 15, 2020

pwyq@pwyq-R7:~/github/WarshipGirls$ sudo docker run -v "$(pwd):/src/" cdrx/pyinstaller-windows
[sudo] password for pwyq: 

701 INFO: PyInstaller: 3.6
701 INFO: Python: 3.7.5
701 INFO: Platform: Windows-7-6.1.7601-SP1
712 INFO: UPX is not available.
713 INFO: Removing temporary files and cleaning cache in C:\users\root\Application Data\pyinstaller
Traceback (most recent call last):
  File "c:\Python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python37\Scripts\pyinstaller.exe\__main__.py", line 7, in <module>
  File "c:\Python37\lib\site-packages\PyInstaller\__main__.py", line 114, in run
    run_build(pyi_config, spec_file, **vars(args))
  File "c:\Python37\lib\site-packages\PyInstaller\__main__.py", line 65, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "c:\Python37\lib\site-packages\PyInstaller\building\build_main.py", line 734, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
  File "c:\Python37\lib\site-packages\PyInstaller\building\build_main.py", line 636, in build
    os.makedirs(pth)
  File "c:\Python37\lib\os.py", line 221, in makedirs
    mkdir(name, mode)
OSError: [WinError 123] Invalid name: '/tmp\\*'

@pwyq
Copy link
Member Author

pwyq commented Dec 16, 2020

Today I tried to run on my ubuntu, but it was blocked by disk size. could not fix. Maybe need to reinstall ubuntu OS

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant