cx_Freeze 4.2.2

Anthony Tuininga anthony.tuininga at
Fri Dec 24 06:07:26 CET 2010

What is cx_Freeze?

cx_Freeze is a set of scripts and modules for freezing Python scripts
into executables in much the same way that py2exe and py2app do.
Unlike these two tools, however, cx_Freeze is cross platform and
should work on any platform that Python itself works on.

Where do I get it?

What's new?

Changes from 4.2.1 to 4.2.2

1) Added support for namespace packages which are loaded implicitly
upon startup by injection into sys.modules.

2) Added support for a Zope sample which makes use of namespace packages.

3) Use the Microsoft compiler on Windows for Python 2.6 and up as some
strange behaviors were identified with Python 2.7 when compiled using

4) Eliminate warning about -mwindows when using the Microsoft compiler
for building the Win32GUI base executable.

5) Added support for creating version resources on Windows.

6) Ensure that modules that are not truly required for bootstrapping
are not included in the frozen modules compiled in to the executable;
otherwise, some packages and modules (such as the logging package)
cannot be found at runtime. This problem only seems to be present in
Python 2.7.1 but it is a good improvement for earlier releases of
Python as well.

7) Added support for setting the description for Windows services.

8) Added hook for using the widget plugins which are part of the
PyQt4.uic package.

9) Added additional hooks to remove spurious errors about missing
modules and to force inclusion of implicitly imported modules (twitter
module and additional submodules of the PyQt4 package).

10) Fixed support for installing frozen executables under Python 3.x on Windows.

11) Removed optional import of setuptools which is not a complete
drop-in replacement for distutils and if found, replaces distutils
with itself, resulting in some distutils features not being available;
for those who require or prefer the use of setuptools, import it in

More information about the Python-announce-list mailing list