[Pythonmac-SIG] py2app 0.3 stable?
Kevin Ollivier
kevino at theolliviers.com
Mon Jan 30 03:59:46 CET 2006
Hi Justin,
On Jan 29, 2006, at 6:23 PM, Justin Mitchell wrote:
> On 1/29/06, Bob Ippolito <bob at redivi.com> wrote:
>> On Jan 29, 2006, at 3:41 PM, Justin Mitchell wrote:
>>
>>> I did attempt to use 0.3 and got errors. I'll attempt to diagnose
>>> those after I figure out whether it's even meant to be used or
>>> not....
>>
>> Try it with the release version and see if it works.
>>
>
> There are a few things that I've had trouble with, such as including
> wxPython, and Intel Mac OS X support.
>
> In regards to wxPython... py2app 0.2 doesn't automatically include the
> wxPython 2.5.3 files, so I have to force it with "-p". This results in
> a rather large binary (19 megs worth of wxPython stuff). I'm using
> 10.4.4 and the default python/wxPython version. I tried to "-exclude"
> portions of wxPython, but -exclude doesn't seem to function (or I'm
> using it improperly).
Have you considered using 2.6.2 instead? It will properly include the
bits you need (2.5.3 is part of the "system" for Tiger, which is why
I suspect it doesn't automatically get included) and you'll benefit
from the numerous bugfixes since 2.5.3.
> In regards to Intel support... well, my application won't run on the
> Intel macs under Rosetta. It won't be until tomorrow, when I finally
> get an Intel mac, that I'll know whether it is a problem with my
> script, py2app, or what. If Universal Binary support works with py2app
> 0.3, then it would be very valuable to me too. I'll go into more
> detail regarding this later, as soon as I can properly test it.
wxWidgets/wxPython 2.6.3 will have support for building the wxWidgets
part as a Universal Binary, but AFAIK Python doesn't officially have
Universal binary support yet (though it's a work in progress), so at
this point the wxPython wrappers would still be either PPC or Intel
native. Once Python does have such support, we'll release a wxPython
Universal Binary to go along with it. :-) (Barring any significant
unforeseen problems!)
Still, I've tried several py2app bundles that include wxPython, along
with several other C++ wrapper extensions, and they've all worked
just fine so far under Rosetta on an Intel iMac. So there may be a
way to resolve this issue without creating a Universal build.
Kevin
> - Justin
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
More information about the Pythonmac-SIG
mailing list