Wednesday, September 07, 2005


py2exe 0.6.1 released (2005/09/05)

Can now create single file executables.

What's new in py2exe 0.6

  • The new --bundle <level> or -b <level> command line switch instructs py2exe to bundle needed dlls and pyds into the library file or the executable itself, instead of simply collecting them in the dist directory. Not only does this create less files you have to distribute, it also allows Python inprocess COM servers to run completely isolated from other Python interpreters in the same process. See below for more details.

  • To prevent unicode encoding error, py2exe now by default includes the codecs module and the encodings package. If you are sure your program never implicitely or explicitely has to convert between unicode and ascii strings this can be prevented by the --ascii or -a command line switch.

  • It is no longer required to clean the build directory from time to time to prevent some strange errors.

  • Several patches have been integrated (if you miss a patch you sent me, please send it again. It can be that I missed some mails).