Creating single .exe file without py2exe and pyinstaller

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Oct 20 23:06:07 EDT 2008


En Sun, 19 Oct 2008 01:45:16 -0200, Abah Joseph <joefazee at gmail.com>  
escribió:

> I have written a small application of about 40-45 lines which is about  
> 4KB,
> so I want to create a single .exe file from it, using py2exe it created
> unnecessary files, that just increase the size of the program and also  
> less
> portable to me. What else can I use?
> I am on windows XP.
> Python 2.5

You may explore using the "excludes" and "dll_excludes" options if you are  
absolutely sure certain modules would never be used. Also you might use  
the "ascii" option if you never use any kind of encoding.

-- 
Gabriel Genellina




More information about the Python-list mailing list