[Tutor] [Fwd: py2exe 0.6.1 released]

Kent Johnson kent37 at tds.net
Wed Sep 7 13:43:27 CEST 2005

I thought this announcement might be of interest here since a frequent question on the list is "How can I build a single-file exe from my Python program?" and until now the answer has been, "You can't."


-------- Original Message --------
Subject: py2exe 0.6.1 released
Date: Mon, 05 Sep 2005 21:55:19 +0200
From: Thomas Heller <theller at python.net>
To: python-list at python.org
Newsgroups: comp.lang.python

py2exe 0.6.1 released

py2exe is a Python distutils extension which converts python scripts
into executable windows programs, able to run without requiring a
python installation.  Console and Windows (GUI) applications, windows
NT services, exe and dll COM servers are supported.

Changes in this release:

    * py2exe can now bundle binary extensions and dlls into the
      library-archive or the executable itself.  This allows to
      finally build real single-file executables.

      The bundled dlls and pyds are loaded at runtime by some special
      code that emulates the Windows LoadLibrary function - they are
      never unpacked to the file system.

      This part of the code is distributed under the MPL 1.1, so this
      license is now pulled in by py2exe.
    * By default py2exe now includes the codecs module and the
      encodings package.
    * Several other fixes.



Download from the usual location:




More information about the Tutor mailing list