On Jun 5, 2009, at 10:54 PM, Ned Deily wrote:

In article <f29d7293-acdc-49f1-b34f-3a2ef5671...@pacbell.net>,
Scott Frankel <lekn...@pacbell.net> wrote:
Is there a way to coerce python_select?  Does python_select
require bash?

python_select essentially only affects the command
/opt/local/bin/python.  If the path /opt/local/bin doesn't come before
/usr/bin on your $PATH, then when you type "python", you'll still get
the system python.

Try explicitly invoking the desired python, like this:

$ cd /path/to/app/direcotry
$ /opt/local/bin/python2.6 setup.py py2app

That should work regardless of $PATH and of the python_select setting.


another problem that I had is that /opt/local/bin is not part of the finder paths so .app software that tries to launch python can't find it. the fix is putting this on a .plist in a hidden directory, search for "mac os x finder search path" or something.

--
Leonardo Santagada
santagada at gmail.com



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

Reply via email to