On Jun 7, 2006, at 6:18 PM, Achim Siebert wrote:
While I'm at it - I just installed Python 2.4.3 but BBEdit still
calls v2.3 when I use "Run" from the menu, though "which python" in
my bash shell finds the right one (and Bash is selected in the
BBEdit prefs). Doesn't BBEdit use PATH to determine the one to use,
i.e. the one in "/Library/Frameworks/Python.framework/Versions/
Current/bin" instead of
"/usr/bin/"?
Cutting and pasting from my own past response:
<http://www.listsearch.com/bbedittalk.lasso?id=21090>
BBEdit will find which python interpreter to invoke using the
following logic:
- extract the interpreter from the #! line (/usr/bin/env is supported
here)
- else look for a binary named python in your PATH (*)
- else look for a binary named python in some well known places
(*) Your PATH here means what is available to the BBEdit GUI process
- what you have set in your .bashrc or equivalent doesn't apply. To
influence the environment variables for GUI processes you must use
the technique discussed at <http://developer.apple.com/qa/qa2001/
qa1067.html>.
Jim
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>