Packaging a python program

From Freehackers
Jump to: navigation, search

The goal is to take an existing python program and distribute it as a self-contained executable, that does not require python are any python module to be installed. Of course, this is more suitable on Windows than on Linux but it can actually serves both platforms. Even on linux, source is not necessarily the best distribution mean for a program to *just work*.

Misc thoughts:


Contents

Py2exe

Bluebird's opinion:

I have used it for years on several projects. Works like a charm, very easy to use.

PyInstaller

Bluebird's opinion:

I have used it for PyTiCroque and it was also very easy to use and works like charm. I like the idea that I can also use it on Linux.

The SVN version is much more advanced than the last released version. It has MacOs support and more nice stuff.

cx_Freeze

bbfreeze

bbfreeze is the only one, which handles eggs and zipfile imports transparently (and therefore also provides a mechanism for including data files using setuptools pkg_resources module).

py2app

Personal tools
Namespaces
Variants
Actions
fh network
Freehackers
Navigation
Toolbox