[Pythonmac-SIG] py2app: works for me on 10.6, not 10.7

Michael McCracken michael.mccracken at gmail.com
Thu Aug 2 16:59:39 CEST 2012


On Thu, Aug 2, 2012 at 7:40 AM, Ronald Oussoren <ronaldoussoren at mac.com> wrote:
>
> On 31 Jul, 2012, at 16:47, Michael McCracken <michael.mccracken at gmail.com> wrote:
>
>> Hi, my py2app setup script is working fine if I run it on 10.6, but on
>> 10.7 I've run into some problems.
>>
>> I want a standalone app, and on 10.6 I didn't specify semi_standalone:
>> False in the options, and it worked fine.
>> On 10.7, it appeared to be using the system python (loading old system
>> versions of some dependencies), and on a quick look through the py2app
>> code it seemed to be deciding it was semi-standalone, so I added
>> semi_standalone: False.
>
> That won't work, py2app won't copy parts files from /System into the application bundle.

Yes, that explains the "runtime could not be located" error.
For the archives - this was solved by actually making sure, for real,
that I wasn't running py2app with the system python.
I had mistakenly built a zope-buildout python wrapper that called the
system python when I wasn't expecting it to.

Thanks,
-mike

> Ronald
>
>> This solved results in a app wrapper without the Python.framework
>> copied in, giving me the "Python runtime could not be located" error.
>>
>> Is there something obvious I'm missing in moving builds to 10.7?
>>
>> Thanks,
>> -mike
>> _______________________________________________
>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
>


More information about the Pythonmac-SIG mailing list