[Pythonmac-SIG] Zope py2app, some progress

Bob Ippolito bob at redivi.com
Thu Feb 10 17:02:52 CET 2005


On Feb 10, 2005, at 8:05, Charles Hartman wrote:

> On Feb 9, 2005, at 11:47 PM, Roger Binns wrote:
>
>>> 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/
>>
> That's extremely helpful. I'd downloaded the setup script before and 
> planned to study it -- now I'll go back to it. (Wish it did the py2app 
> stuff, for self-pedagogical reasons -- but py2app does make things 
> easier rather than harder.) And for me at least, the slide-show gives 
> quite useful overviews of the cross-platform issues. Thank you.

The referenced makedist.py *does* do the py2app stuff.  It's the slides 
that have not been updated accordingly.

-bob



More information about the Pythonmac-SIG mailing list