py2exe 0.6.2 released

T

Thomas Heller

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
versions.

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

- 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.

Homepage:

<http://starship.python.net/crew/theller/py2exe>

Download from the usual location:

<http://sourceforge.net/project/showfiles.php?group_id=15583>

Enjoy,

Thomas
 
B

Bugs

As a big test of Thomas's excellent work with py2exe, I tried to create
a single-file executable of the wxPython demo (demo.py).
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 "demo.py", 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\setup.py and
just updated script = "demo.py". Then I ran the script as follows:
> python setup.py py2exe --bundle 1

Correct?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

py2exe 0.6.8 released 1
py2exe 0.6.9 released 0
py2exe 0.6.1 released 17
py2exe 0.6.4 released 0
py2exe 0.6.3 released 0
py2exe 0.6.5 released 0
py2exe 0.6.6 released 0
py2exe 0.5.4 released 5

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top