I apologize, you're correct, our changes were made against an older version of the source files.  We based our adjustments on the changes Joachim made to the base MemoryModule.c file, but when we began working on it we were under the (mistaken) impression that the py2exe project didn't have a current maintainer and we weren't aware of the SVN Repository on SourceForge.  We made all our changes against the source files bundled with the tarball we'd been installing from, not against the current trunk in SVN.  We're currently working to add the 64-bit support and maintain your improvements - I'll let you know when I have a more appropriate patch that will hopefully not require so much effort on your side to merge.

Creating the installers seemed to work correctly - thank you for that.

Thank you for all of your help and feeback!


On Thu, Mar 28, 2013 at 3:02 PM, Thomas Heller <> wrote:
I do not know why you had to recompile Python in order to get py2exe
What I ussually do is to 'python bdist_wininst' in the
directory where py2exe's file lives, using the python version
that I want to build for, and after some seconds in a subdirectory
called 'dist' I find an installer named after the python version that
I built for; for example 'py2exe-0.6.10dev.win32-py2.7.exe' for a 32-bit
build, or '' for a 64-bit

Forgot to say:  Of course you must have Python from
installed, and also the Visual Studio version that it was built with.