[issue23435] installation with full path as prefix incomplete

Ivailo Monev report at bugs.python.org
Thu Feb 12 05:47:56 CET 2015


Ivailo Monev added the comment:

I found the source of the problem, it's in distutils. at line 148 in Lib/distutils/util.py (in the tarball) the path join does not handle the full path properly (os.path.join returns the second path if it is full path), as a workaround I used "return new_root + pathname[1:]" and it worked as expected.

Do note that I've forgot to mention in my initial comment/message on this issue does not mention that I'm trying to install it ala DESTDIR. Trying to install Python as regular user failed because it was trying to place files on / instead of the sepcified DESTDIR.

Will you do something about this?

----------

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


More information about the Python-bugs-list mailing list