This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tarek
Recipients tarek, timkersten
Date 2010-04-09.16:23:41
SpamBayes Score 3.9983092e-06
Marked as misclassified No
Message-id <1270830223.6.0.176175633171.issue8357@psf.upfronthosting.co.za>
In-reply-to
Content
== prefix == 

With prefix, you need to make sure the target site-packages is in your PYTHONPATH:

  PYTHONPATH=/tmp/foo/lib/python2.6/site-packages/ python setup.py install --prefix=/tmp/foo

And here, prefix is used as the base location, and the command uses the schemes defined
for each platform.

So stuff will be installed in /tmp/foo  (bin/ , lib/python2.6, etc)

 
== root ==

With root, you just need to provide a path:

  python setup.py install --root=/tmp/foo

In this case, sys.prefix will be used relatively to root (location = root+sys.prefix), so for example,
under Mac OS X, I have '/Library/Frameworks/Python.framework/Versions/2.6' for sys.prefix.

So stuff will be installed under /tmp/foo/Library/Frameworks/Python.framework/Versions/2.6/

Since both options are used to define the base location, they are mutualy exclusive.
That's how it works today.

What are you trying to achieve exactly ?

Btw: Please don't add Python 2.5 in the versions. Python 2.5 is not a target anymore.
History
Date User Action Args
2010-04-09 16:23:43tareksetrecipients: + tarek, timkersten
2010-04-09 16:23:43tareksetmessageid: <1270830223.6.0.176175633171.issue8357@psf.upfronthosting.co.za>
2010-04-09 16:23:41tareklinkissue8357 messages
2010-04-09 16:23:41tarekcreate