setup.py when you can't write to site-packages?
skip at pobox.com
skip at pobox.com
Wed Aug 9 09:34:31 EDT 2006
andy> What's the best approach for situations when you can't tamper with
andy> the Python install?
python setup.py install --prefix=/some/where/else
The arg to --prefix is analogous to /usr or /usr/local. For example, if you
are running Python 2.4, your files will wind up in
/some/where/else/lib/python2.4/site-packages
Just add that directory to PYTHONPATH and you should be good to go.
Skip
More information about the Python-list
mailing list