I've installed Python 3.3 for some testing on a Leopard machine, and now a 2.x
PyObjC application won't run from its bundle because the 3.3 binary in
/Library/Frameworks/Python.framework is picked up. Of course if I run

python MyBundled.App/Contents/Resources/main.py

the system Python (2.5.1) is used, but running

MyBundled.App/Contents/MacOS/MyBundled

runs with Python 3.3 and, of course, fails because the 2.5 site-packages used
aren't found.

Short of removing the 3.3 installation (which I still need for testing), how
does one configure things so that the /Library/Frameworks/Python.framework
binary is skipped and the system Python picked up? I've failed to find the
appropriate info via Google, since "bundle", "path" etc. are seemingly too
generic to home in on any posted info on the topic.

I've considered that it might be a build-time thing, but looking at XCode
(3.1.4) preferences, I can't see how to specify a particular Python to use.

Thanks,

Vinay Sajip

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to