how you go about distributing Python apps.
Good question. I'm not so sure yet.
For Linux, I'm distributing bzero
as a tarball with a shell script that drops everything in /usr/lib/bzero. This requires that the user already has Python (and the right version, too) so it's not that great. A better way would be to build a copy of Python that runs in the current directory, and distribute it with your app. Either that or make a .deb or .rpm package for it, which will let you use dependencies.
For Windows, I'd use py2exe
and Inno Setup
. py2exe creates a single EXE file that includes the Python interpreter, your app, and all the libraries (including compiled ones) it depends on. Inno Setup makes a beautiful modern-looking Windows installer. Both apps are free (as in beer ... I think open source as well, not sure).
... more like this: [