py2exe and a single exe file?

Mike prema at prema.co.nz
Sat Sep 28 14:07:37 EDT 2002


Hi Stephen !
I've been doing some builds quite successfully using this script from 
the ASPN Cookbook.  I name it Build.py and it sits in my tools folder.

Take a copy and put it in with your source folder then run
Build.py NewApp.py
Hope it helps
Best regards
Mike



Stephen Boulet wrote:
> I'm trying to get py2exe to work for me, and I must be doing something 
> wrong.
> 
> I have a script that uses easygui (which uses Tkinter) and Numeric. It 
> also imports a small module from the same directory that the script 
> resides in.
> 
> I try building it like this:
> 
>    python setup.py py2exe -d N:\ -i easygui
> 
> It builds and runs, but only with the other stuff in the build directory 
> with the generaged exe. The other stuff is:
> 
>   tcl directory containing tcl8.3 and tk8.3 directories
>   _numpy.pyd
>   _sre.pyd
>   _tkinter.pyd
>   multiarray.pyd
>   umath.pyd
> 
> What I would like to accomplish is just having a single exe file lumping 
> everything together. Is this possible?
> 
> -- Stephen
> 




More information about the Python-list mailing list