Tell distutils alternative install directory?

Andrew Kuchling akuchlin at mems-exchange.org
Fri Jan 4 17:52:19 EST 2002


huaiyu at gauss.almadan.ibm.com (Huaiyu Zhu) writes:
> I must be missing the obvious: Is there a way to tell distutils to install
> in a particular directory other than the default site-packages?   In
> particular this must be a directory not requiring root permission.

'python setup.py install --root <rootdir>' should do the trick.  (Note
that all the distutils command provide a usage message for --help,
listing all the possible switches and options.)

--amk



More information about the Python-list mailing list