How to create a single executable of a Python program

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Jul 25 15:19:53 EDT 2007


En Wed, 25 Jul 2007 14:20:36 -0300, Larry Bates <larry.bates at websafe.com>  
escribió:
> NicolasG wrote:

>> I'm trying to create a executable file using py2exe . Unfortunately
>> along with the python executable file it also creates some other files
>>
> If you want a single file to distribute, look at Inno Installer.  Use
> it to make a single, setup.exe out of all the files that come out of  
> py2exe
> along with documentation, shortcuts, etc. that a good modern application  
> needs.

Exactly. There is even a sample script (located at samples/extending in  
the py2exe installation), it generates automatically the InnoSetup script.
If you prefer to use NSIS, see this page on the py2exe wiki:  
http://www.py2exe.org/index.cgi/SingleFileExecutable

-- 
Gabriel Genellina




More information about the Python-list mailing list