472,353 Members | 2,169 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

py2exe 0.6.8 released

py2exe 0.6.8 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.8:

* Support for relative imports.

* Fix MemoryLoadLibrary to handle loading function addresses by ordinal
numbers. Patch and test by Matthias Miller.

* Using the options compressed=1, bundle_files=3, and zipfile=None at
the same time now works; patch from Alexey Borzenkov.

* Allow renaming of single-executable files; patch from Alexey
Borzenkov.

* Embedding icon resources into the image now works correctly even for
ico files containing multiple images.

* pyd files from different packages with the same filename no longer
conflict. Patch from Grant Edwards.

* There are new samples for the 'typelibs' support, including the new
option of pre-generating a typelib and specifying the file as an
input to py2exe.

* The test suite is now included in the source distribution.
Changes in 0.6.6:

* Better support for Python 2.5.

* Experimental support for 64-bit builds of Python on win64.

* Better ISAPI support.

* New samples for ISAPI and COM servers.

* Support for new "command-line styles" when building Windows services.

Changes in 0.6.5:

* Fixed modulefinder / mf related bugs introduced in 0.6.4. This
will be most evident when working with things like
win32com.shell and xml.xpath.

* Files no longer keep read-only attributes when they are copied
as this was causing problems with the copying of some MS DLLs.

Changes in 0.6.4:

* New skip-archive option which copies the Python bytecode files
directly into the dist directory and subdirectories - no
archive is used.

* An experimental new custom-boot-script option which allows a
boot script to be specified (e.g., --custom-boot-script=cbs.py)
which can do things like installing a customized stdout
blackhole. See py2exe's boot_common.py for examples of what can
be done. The custom boot script is executed during startup of
the executable immediately after boot_common.py is executed.

* Thomas Heller's performance improvements for finding needed
modules.

* Mark Hammond's fix for thread-state errors when a py2exe
created executable tries to use a py2exe created COM DLL.

Changes in 0.6.3:

* First release assembled by py2exe's new maintainer, Jimmy
Retzlaff. Code changes in this release are from Thomas Heller
and Gordon Scott.

* The dll-excludes option is now available on the command line.
It was only possible to specify that in the options argument to
the setup function before.

The dll-excludes option can now be used to filter out dlls like
msvcr71.dll or even w9xpopen.exe.

* Fix from Gordon Scott: py2exe crashed copying extension modules
in packages.

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://www.py2exe.org>

Download from the usual location:

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

Enjoy,
Jimmy

Jun 27 '08 #1
1 2863
Being new on on Python (but otherwise experienced programmer this message
triggered me to do the install.
It looks like a nice way to do a comprehensive check of your system.

When running one of the py2exe samples, located in
C:\Python25\Lib\site-packages\py2exe\samples\singlefile\gui I got the
following error when running the resulting executable:

C:\Python25\Lib\site-packages\py2exe\samples\singlefile\gui\dist\test_w x.exe\zipextimporter.py:82:
DeprecationWarning: The wxPython compatibility package is no longer
automatically generated or actively maintained. Please switch to the wx
package as soon as possible.
Traceback (most recent call last):
File "test_wx.py", line 1, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wxPython\__init__.pyo", line 15, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wxPython\_wx.pyo", line 8, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wxPython\_misc.pyo", line 456, in <module>
AttributeError: 'module' object has no attribute
'DateTime_GetNumberOfDaysinYear'

I know of course the real error must be on the wx part of it all.

I only have:
- a python 2.5.2 install(msi)
- a "wxPython2.8-win32-unicode-2.8.7.1-py25.exe" install
- a "py2exe-0.6.8.win32-py2.5.exe"install.

I have deleted C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wxPython
because there indications that this is not needed, but other problems
emerged.

Any clues how to proceed next?

Robert
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Thomas Heller | last post by:
**py2exe 0.5.2** released ========================= py2exe is a Python distutils extension which converts python scripts into executable windows...
17
by: Thomas Heller | last post by:
py2exe 0.6.1 released ===================== py2exe is a Python distutils extension which converts python scripts into executable windows...
1
by: Thomas Heller | last post by:
This is a bugfix release for py2exe 0.6.1. py2exe 0.6.2 released ===================== py2exe is a Python distutils extension which converts...
0
by: Jimmy Retzlaff | last post by:
py2exe 0.6.3 released ===================== py2exe is a Python distutils extension which converts Python scripts into executable Windows...
0
by: Jimmy Retzlaff | last post by:
py2exe 0.6.4 released ===================== py2exe is a Python distutils extension which converts Python scripts into executable Windows...
0
by: Jimmy Retzlaff | last post by:
py2exe 0.6.5 released ===================== py2exe is a Python distutils extension which converts Python scripts into executable Windows...
0
by: Jimmy Retzlaff | last post by:
py2exe 0.6.6 released ===================== py2exe is a Python distutils extension which converts Python scripts into executable Windows...
0
by: Larry Bates | last post by:
Jimmy Retzlaff wrote: Everyone, Thanks for all your hard work on py2exe, it is greatly appreciated. -Larry Bates
0
by: Jimmy Retzlaff | last post by:
py2exe 0.6.9 released ===================== py2exe is a Python distutils extension which converts Python scripts into executable Windows...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.