On 8-mrt-2006, at 6:11, Samuel M. Smith wrote:

>>
>>> I use PYTHONPATH to add my own python development directories so  
>>> that
>>> modules I create myself or don't want to install in the default:
>>> /library/frameworks/python.framework/versions/2.4/lib/python2.4/ 
>>> site-
>>> packages/
>>
>> The time machine strikes again :-). You can also install your own
>> packages in ~/Library/Python/2.4/site-packages. That directory is
>> a proper site-package, .pth files work in there.
>>
>> [...]
>
> Well I missed that one. Why doesn't ~/Library/Python/2.4/site- 
> packages show up in sys.path?
> In what order is it searched relative to sys.path?

It should be just after the system-wide site packages directory. It  
is added in site.py
when 'Python.framework' is in sys.prefix, and the environment  
variable HOME is set.

Ronald

>
>
> **********************************************************************
> Samuel M. Smith Ph.D.
> 2966 Fort Hill Road
> Eagle Mountain, Utah 84043
> 801-768-2768 voice
> 801-768-2769 fax
> **********************************************************************
> "The greatest source of failure and unhappiness in the world is
> giving up what we want most for what we want at the moment"
> **********************************************************************
>

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

Reply via email to