Author LordAro
Recipients LordAro, dstufft, eric.araujo
Date 2019-05-01.14:01:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556719316.49.0.543223746824.issue36768@roundup.psfhosted.org>
In-reply-to
Content
https://github.com/python/cpython/blob/master/Lib/distutils/util.py#L106-L131

Due to the split('/') and os.path.join(), this function converts an absolute path of the form "C:/foobar" into a relative "C:foobar", which is likely to be entirely different

Usecase:

pip install --prefix=/home/charles/python foobar

within an MSYS2 terminal automagically converts the path to C:/Users/charles/python for some reason or another, but it's not exactly uncommon for users to use forward slashes on Windows regardless

I'm not entirely sure what the correct fix would be here, or even if it should be fixed at a higher level - in setuptools or pip
History
Date User Action Args
2019-05-01 14:01:56LordArosetrecipients: + LordAro, eric.araujo, dstufft
2019-05-01 14:01:56LordArosetmessageid: <1556719316.49.0.543223746824.issue36768@roundup.psfhosted.org>
2019-05-01 14:01:56LordArolinkissue36768 messages
2019-05-01 14:01:56LordArocreate