[Pythonmac-SIG] $PYTHON and path variables?
tad
tad at propheticdesire.com
Tue Mar 16 20:33:28 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
folder.
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
file?
Is there any way to set $PYTHON for PythonCoreCarbon without using a
preferences file?
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!
Thanks,
Tad Turner
<tad at propheticdesire.com>
More information about the Pythonmac-SIG
mailing list