[Pythonmac-SIG] py2app and mysqldb
Ronald Oussoren
ronaldoussoren at mac.com
Wed Apr 29 16:19:37 CEST 2009
On Wednesday, April 29, 2009, at 04:07PM, "Elizabeth Lackey" <elizabeth.k.lackey at gmail.com> wrote:
>>
>> So you are using the python that Apples supplied with 10.5.
>
>Actually I believe it came with 2.3
10.5 ships with python 2.5 as /usr/bin/python, it also ships with 2.3 in /System/Library/Frameworks (for backward compatibility with earlier systems).
>
>In this case, py2app does not include python itself (or system installed
>> standard packages?)
>>
>> I wonder if that's messing things up for you.
>>
>> If you want to deploy to non 10.5 systems, you should use the python.orgpython. It will install into /Library/Frameworks, and py2app will include
>> everything needed to run the app on any 10.3.9 and above system
>
>I was running Python 2.5.1, I'm now at 2.5.4.
>It is installed in /Library/Frameworks, /usr/bin is a symlink
Don't do that! I haven't checked this for Leopard, but in previous version of the system Apple used /usr/bin/python in system functionality (such as PDF workflows) and therefore replacing /usr/bin/python by some other python could break your system.
Ronald
More information about the Pythonmac-SIG
mailing list