Hunt Culver wrote:
I was trying to put my own .py modules in the site-packages folder but they were loading as expected,

'import site' failed; traceback:

odd -- is this what you get when you start up python all by itself:

$ python

And back to the original question; which site-package directory works with MacPython 2.5?

/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/

however, what I would do is use distutils to install your custom stuff, rather than doing it by hand. All you need is a simple setup.py file.

If your stuff is under active development, then use setuptools, and:

$ python setup.py --develop

that will put links to your stuff in site-packages, pointing to your code, so when you change things, the changes will show up everywhere.

-Chris



--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

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

Reply via email to