Message102730
== 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. |
|
Date |
User |
Action |
Args |
2010-04-09 16:23:43 | tarek | set | recipients:
+ tarek, timkersten |
2010-04-09 16:23:43 | tarek | set | messageid: <1270830223.6.0.176175633171.issue8357@psf.upfronthosting.co.za> |
2010-04-09 16:23:41 | tarek | link | issue8357 messages |
2010-04-09 16:23:41 | tarek | create | |
|