PythonPackaging - mwicat/personal GitHub Wiki
- https://blog.aaronhktan.com/posts/2018/05/14/pyqt5-pyinstaller-executable
- https://www.learnpyqt.com/courses/packaging-and-distribution/packaging-pyqt5-pyside2-applications-windows-pyinstaller/
PyInstaller
pip3 install pyinstaller
This one creates app.spec
:
pyinstaller -y -n PySideTest -i assets/icon.icns --windowed app.py
This one uses app.spec
:
pyinstaller -y app.spec
Convert png to icns (required icon format by MacOS)
npm install png2icns -g
png2icns file.icns file.png
Create Debian .deb
sudo apt-get install python-stdeb
sudo pypi-install my_package