[issue9023] distutils relative path errors

Greg Hazel report at bugs.python.org
Sat Aug 21 19:18:35 CEST 2010


Greg Hazel <ghazel at users.sourceforge.net> added the comment:

The python setup script is for the python module, which is in a subdirectory of the C library project. I am not going to move setup.py to the root directory just to work around a a distutils bug.

This distutils bug could cause it to overwrite files in other directories, since it blindly adds relative paths to the build directory. This is clearly broken.

I've changed my code to use os.path.abspath() while I wait for a fix.

----------

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


More information about the Python-bugs-list mailing list