PythonPackaging - mwicat/personal GitHub Wiki

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