Py2EXE problem

Thomas Heller theller at ctypes.org
Wed Feb 28 13:32:05 EST 2007


Sick Monkey schrieb:
> Ok I found an extremely easy way to resolving this issue (I cannot believe I
> did not think of it sooner).
> 
> After Py2exe created the .exe file I noticed a "library.zip" file.  I took a
> look at the Py2exe output, and saw all of the libraries that it failed to
> insert.  I copied all of the .pyc that my application needed and inserted
> them in the "email folder" within the library.zip.  I fired up the
> application and it worked like a champ.
> 

Even easier would be to let py2exe include the whole email package.
One solution is to run
   'setup.py py2exe -p email'

Thomas




More information about the Python-list mailing list