[issue9023] distutils relative path errors

Éric Araujo report at bugs.python.org
Sat Aug 21 19:24:43 CEST 2010


Éric Araujo <merwok at netwok.org> added the comment:

> I am not going to move setup.py to the root directory just to work
> around a a distutils bug.
Fair enough.

> 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.
Ah, I hadn’t understood that. I agree with you.

> I've changed my code to use os.path.abspath() while I wait for a
> fix.
Does this means that your code works with paths that go to the parent directory? I don’t know if it’s right to allow that (I mean this literally: I’m not the main maintainer and I don’t have much packaging experience).

----------

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


More information about the Python-bugs-list mailing list