Creating single .exe file without py2exe and pyinstaller

Larry Bates larry.bates at vitalEsafe.com
Mon Oct 20 17:48:37 CEST 2008


Tino Wildenhain wrote:
> Hi,
> 
> Abah Joseph wrote:
>> 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?
> 
> the "unneccessary files" you say, are what your 40-45 lines bring to
> life.
> 
> 1) just distribute the 40-45 lines - but this requires python
>    installation on users end
> 
> 2) use a python to C(++) compiler and compile the result to .exe,
>    works pretty well for simple applications:
> 
>    http://shed-skin.blogspot.com/
> 
> Regards
> Tino

3) Stop worrying about the size of the distribution.  In today's world 4Mb is 
trivial to download.

-Larry



More information about the Python-list mailing list