[Pythonmac-SIG] Zope py2app, some progress

Roger Binns rogerb at rogerbinns.com
Thu Feb 10 05:47:44 CET 2005


> I'm not sure whether to ask if you could explain "compile them into the 
> executable" (I don't know how to do that; I have to give my app to 
> Windows people, but actually (*knowing* anything about Windows . . .) 
> or if you could explain "(bleh)" -- but maybe the one question answers 
> the other. Oh well . . .

On Windows it is possible to make a single file executable and include
all resources within that executable.  However most people expect there
to be a single setup executable, and that setup will add the program 
to the list of Add/Remove programs in the Control Panel.

And if you are going to use to a single setup, there is no benefit to
trying to make a single file - it doesn't matter how many files there
are.

There are also some resources you won't be able to make part of the
single file such as help content as it needs them to be in seperate
files.

You can make a single app appear be in the native installer format
for each platform.  We did it for BitPim.  Go ahead, download and
try it.  You don't actually need a cell phone for the program to
run.

This is the Python code used to do the installer work:

http://cvs.sf.net/viewcvs.py/bitpim/bitpim/makedist.py?view=markup

Slides 18 through 22 of this talk explain how it is done.  Note
however that we now use py2app on Mac.

http://bitpim.org/papers/baypiggies/

Roger




More information about the Pythonmac-SIG mailing list