[issue8357] distutils does not allow installation with --root and --prefix, and give's incorrect error message

Tarek Ziadé report at bugs.python.org
Fri Apr 9 17:31:30 CEST 2010


Tarek Ziadé <ziade.tarek at gmail.com> added the comment:

Those are mutually exclusive:

  --prefix : installation prefix
  --root: install everything relative to this alternate root directory

root will install things into a completely alternate root and will use the existing installation scheme and make all paths relative to root.

Whereas prefix allows you to define an alternate value for the installation sys.prefix. And supposes that this prefix is in your PYTHONPATH. 

IOW, having the two options makes it impossible for distutils to choose where to put some files.

----------
resolution:  -> invalid
versions:  -Python 2.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8357>
_______________________________________


More information about the Python-bugs-list mailing list