py2exe 0.6.1

Tuesday 6 September 2005This is close to 18 years old. Be careful.

Yay! A new version of py2exe is out, and now it can make single file executables. Earlier versions would create Windows executables, but they needed a flotilla of a dozen or so other files around them. 0.6.1 can bundle everything into one exe, simplifying distribution. Yay!


The only problem with this utility is that your executable now contains all the Python bugs. If you have separate runtime files, the runtime files can be updated with bug fixes and you don't have to recompile and redistribute your app.

I remember Joel Spolsky initiating a discussion of this:

Some responses were at:

I think that I lean to the side of not linking in library code since I don't want to be responsible for tracking updates to all the libraries that I use.
On the subject of bugs: I'd choose to bundle Python for those very same reasons. If I bundle everything together, then I know what I'm running with. If I rely on the customer's installation of Python, not only do I limit my customers to those that can and will install Python, but I rely on them to maintain it, and I now have every possible configuration to contend with.

If your goal is to ship Python code to Python programmers, then by all means, use their configuration. But if your goal is to distribute an application that happens to be written in Python, use py2exe.

Add a comment:

Ignore this:
Leave this empty:
Name is required. Either email or web are required. Email won't be displayed and I won't spam you. Your web site won't be indexed by search engines.
Don't put anything here:
Leave this empty:
Comment text is Markdown.