[Pythonmac-SIG] PYTHONPATH problem
Willard Myers
wlmyers@stellarscience.com
Thu, 23 Jan 2003 19:24:30 -0500
On Thursday, Jan 23, 2003, at 18:58 US/Eastern, Dave Hackenyos wrote:
> Attn: Jack Jansen
> Hi,
> Thanks for responding. I tried the tests you suggested and something
> else is going on. I am running the default tcsh. My home directory is
> "Users/davehack".
[snip]
Try defining PYTHONPATH in ~/.MacOSX/environment.plist
This file contains a dictionary of strings. For example, mine looks
like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.
com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
...
<key>QMAKESPEC</key>
<string>macx-pbuilder</string>
<key>QTDIR</key>
<string>/usr/local/qt</string>
...
</dict>
</plist>
The structure is managed for you if you use Apple's tool:
/Developer/Applications/Property List Editor.
Bill