By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,941 Members | 1,753 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,941 IT Pros & Developers. It's quick & easy.

py2exe 0.6.2 released

P: n/a
This is a bugfix release for py2exe 0.6.1.

py2exe 0.6.2 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 0.6.2:

* Several important bugfixes:

- bundled extensions in packages did not work correctly, this
made the wxPython single-file sample fail with newer wxPython

- occasionally dlls/pyds were loaded twice, with very strange

- the source distribution was not complete.

- it is now possible to build a debug version of py2exe.

Changes in 0.6.1:

* 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:




Sep 7 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
As a big test of Thomas's excellent work with py2exe, I tried to create
a single-file executable of the wxPython demo (
The executable was built (5.3MB) but gets a C++ runtime error when I try
to execute?

Here's the log:
Traceback (most recent call last):
File "", line 4, in ?
File "Main.pyo", line 1738, in main
File "wx\_core.pyo", line 7473, in __init__
File "wx\_core.pyo", line 7125, in _BootstrapApp
File "Main.pyo", line 1723, in OnInit
File "Main.pyo", line 1677, in __init__
File "wx\_core.pyo", line 2889, in ConvertToBitmap
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed in
...\..\src\msw\bitmap.cpp(822): invalid image

I'm brand new to py2exe so I'm not sure if I'm using it properly. I
created the executable by using the samples\singlefile\gui\ and
just updated script = "". Then I ran the script as follows:
python py2exe --bundle 1

Sep 7 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.