Question about python code distribution...

Larry Bates lbates at syscononline.com
Thu Apr 28 09:21:31 EDT 2005


You didn't say what platform, but if it is Windows take a
look at Inno Installer.  It is a complete installation
framework that allows you to package everything into a
single setup.exe file.  I use a combination of py2exe and
Inno to do my apps that are to be distributed.  Nothing
could be simpler.

-Larry Bates

draghuram at gmail.com wrote:
> Hi,
> 
> I am sure that this question might have come up repeatedly. Companies
> may not want to distribute their python code in source form. Even
> though pyc files are one option, it gets inconvenient to distribute
> bunch of them . If there is some way to bundle pyc files (akin to
> .jar), it would be really nice. I understand that pyc files are not
> hard to decompile (from my reading of previous posts) and module
> startup times may be longer if they have to be read from an archive.
> Neverthless, an option to distribute in the form of an archive is
> attractive. Has this ever been considered for Python? If one were to
> consider it, what would be pros and cons of such approach?
> 
> Any comments are appreciated.
> 
> Thanks,
> Raghu.
> 



More information about the Python-list mailing list