[Pythonmac-SIG] py2app, snow leopard, x86_64, ports
Ronald Oussoren
ronaldoussoren at mac.com
Tue Jun 1 11:51:09 CEST 2010
On 1 Jun, 2010, at 11:36, Johan Gyllenspetz wrote:
> On Tue, Jun 1, 2010 at 11:30 AM, Ronald Oussoren <ronaldoussoren at mac.com> wrote:
>>
>> On 31 May, 2010, at 23:25, Johan Gyllenspetz wrote:
>>
>>> Hi,
>>>
>>> What is the status on py2app -> snow leopard -> x86_64 and ports.
>>
>> What ports?
>>
>
> Sorry I ment macports.
>
>>> Do I
>>> really need to build all port packages with the flag +universal, it
>>> seems like it seems the application when inspected returns.
>>>
>>> file dist/dog.app/Contents/MacOS/dog
>>> dist/dog.app/Contents/MacOS/dog: Mach-O universal binary with 2 architectures
>>> dist/dog.app/Contents/MacOS/dog (for architecture i386): Mach-O executable i386
>>> dist/dog.app/Contents/MacOS/dog (for architecture ppc): Mach-O executable ppc
>>>
>>> Is there a way to tell py2app to build the app for x86_64 instead thus
>>> solving the issue with having to build all port packages with the
>>> universal flag (which can be quite tricky).
>>
>> Rebuilding the stub executable in the py2app package should be enough to enable building 64-bit binaries. Adding proper support for this is on my list, but I don't know when I'll get around to it.
>>
>
> Nice! Any tips of how I rebuild the binary manually?
There is a setup.py in py2app/apptemplate (and also in .../bundletemplate if you want to build a plugin bundle). First remove 'prebuilt/main'.
Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3567 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20100601/fc3908bb/attachment.bin>
More information about the Pythonmac-SIG
mailing list