[issue9023] distutils relative path errors

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If y

[issue9023] distutils relative path errors

2020-11-08 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ __

[issue9023] distutils relative path errors

2015-08-06 Thread Jörg Müller
Jörg Müller added the comment: This bug still exists. I am having a similar use case as ghazel. I have to use absolute paths for the setup.py to work, but the problem is that those paths then end up in the egg-info/SOURCES.txt file which is something that package maintainers of linux distribut

[issue9023] distutils relative path errors

2010-08-21 Thread Greg Hazel
Greg Hazel added the comment: > Éric Araujo added the comment: >> 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’

[issue9023] distutils relative path errors

2010-08-21 Thread Éric Araujo
Éric Araujo 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 clea

[issue9023] distutils relative path errors

2010-08-21 Thread Greg Hazel
Greg Hazel 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 direc

[issue9023] distutils relative path errors

2010-08-21 Thread Éric Araujo
Éric Araujo added the comment: I’m not sure how I feel about paths going to the parent directory. Your use case is not imaginary or contrived, but I’m uncomfortable with going out of the source tree. Your setup script would work if the setup script was in the root of the source tree, right?

[issue9023] distutils relative path errors

2010-06-18 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok versions: +Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mai

[issue9023] distutils relative path errors

2010-06-18 Thread Greg Hazel
New submission from Greg Hazel : Probably applies to more versions, but I only tested on 2.5.2 and 2.6.5. Distutils incorrectly constructs paths for the build/temp directory when relative paths are used in the "sources" list. This can result in failing to make the build/temp directory at all,