Definitive Guide to Python packaging

For Windows, because on $otherOS people know how to pip and all is fine.

Are you ready?

Here it is:

  • Have your project ready with a setup.py.
  • Get NSIS/InnoSetup.
  • Get Winpython (zero).
  • Install your package Winpython, e.g. \path\to\winpython\python.exe setup.py install.
  • Prep an installer-script and compile. Optionally make shortcuts to gui-Tkinter apps: "$INSTDIR\pythonw.exe" "$INSTDIR\Scripts\par2deep-script.py".
  • Done.

All other Python packaging tools suck and don’t work. Believe me.