ANN: PyInstaller 1.0 - build single-file distributions for your Python programs

Giovanni Bajo raNOsky at
Mon Sep 19 19:53:10 CEST 2005


PyInstaller 1.0 is out:

Despite its version number, this is a very stable relase, as we are working
off the well-known McMillan's Installer, which was discontinued some years

Feature highlights:
* Packaging of Python programs into standard executables, that work on
computers without Python installed.
 * Multiplatform: works under Windows, Linux and Irix.
 * Multiversion: works under any version of Python since 1.5.
 * Dual packaging mode:
   * Single directory: build a directory containing an executable plus all
the external binary modules (.dll, .pyd, .so) used by the program.
   * Single file: build a single executable file, totally self-contained,
which runs without any external dependency.
 * Support for automatic binary packing through the well-known UPX
 * Optional console mode (see standard output and standard error at
 * Selectable executable icon (Windows only).
 * Fully configurable version resource section in executable (Windows only).
 * Support for building COM servers (Windows only).

ChangeLog (with respect to the latest official release of McMillan's
(+ user visible changes, * internal stuff)
 + Add support for Python 2.3 (fix packaging of codecs).
 + Add support for Python 2.4 (under Windows, needed to recompiled the
bootloader with a different compiler version).
 + Fix support for Python 1.5.2, should be fully functional now (required to
rewrite some parts of the string module for the bootloader).
 + Fix a rare bug in extracting the dependencies of a DLL (bug in PE header
 + Fix packaging of PyQt programs (needed an import hook for a hidden
 + Fix imports calculation for modules using the "from __init__ import"
 + Fix a packaging bug when a module was being import both through binary
dependency and direct import.
 * Restyle documentation (now using docutils and reStructuredText).
 * New Windows build system for automatic compilations of bootloader in all
the required flavours (using Scons)


Mailing list:

Future plans:
* Make executables built with Python 2.4 not depend on MSVCR71.DLL (under
* Add a very simple frontend to simplify the usage
* Make PyInstaller a normal distutil package.

Happy packaging!
Giovanni Bajo

More information about the Python-list mailing list