Hi Christopher,


On Jun 5, 2009, at 4:58 PM, Christopher Barker wrote:

Scott Frankel wrote:
Is there a way to force the use of a specific version of python for py2app? python_select appears to be getting overridden somewhere/ how.

it should use the one you call it with...

% python setup.py py2app

what do you get when you run:

which python

/usr/bin/python
Unless Macports touched this, this is my system-installed Python.


and:

python

Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26)


this should assure you whether python_select is working.

I don't think python_select is working.  In the same shell:

tiento[lib]% sudo python_select -s
python26


you can also do:

python

>>> import os
>>> os.__file__
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ os.pyc'


'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/os.py'


that will tell you what python is actually being used.

Yep. Is there a way to coerce python_select? Does python_select require bash?

Thanks!
Scott






-Chris



--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov

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

Reply via email to