[Pythonmac-SIG] $PYTHON and path variables?
vze26m98 at optonline.net
Tue Mar 16 20:55:40 EST 2004
I'm working with an application that calls the 2.2.3 PythonCoreCarbon
library under OSX. I'm having some trouble sorting out how to set up the
$PYTHON variable and path strings.
Currently, I have an alias in this main application's working folder
that points to the PythonCoreCarbon library in the MacPython 2.2.3
For Python to find it's library files, I also had to copy :Lib and :Mac
into the application's working folder. This works pretty well.
I tried setting the $PYTHON variable via the "EditPythonPrefs" applet
and noticed it puts this information in the Preferences file. I also
noticed that these resources are included in the PythonCoreCarbon file
as well, although they were not updated.
My questiona are:
Where is $PYTHON set for PythonCoreCarbon to find it? The Preference
Is there any way to set $PYTHON for PythonCoreCarbon without using a
Under what circumstances will PythonCoreCarbon use the path variable
resources it owns?
If anyone could answer, or point me in the direction of documentation
for all this, I'd be appreciative!
More information about the Pythonmac-SIG