473,386 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 2950
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 programs, able to run without requiring a python...
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 programs, able to run without requiring a python...
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 python scripts into executable windows programs,...
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 programs, able to run without requiring a Python...
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 programs, able to run without requiring a Python...
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 programs, able to run without requiring a Python...
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 programs, able to run without requiring a Python...
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 programs, able to run without requiring a Python...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.