[issue24908] sysconfig.py and distutils.sysconfig.py disagree on directory spelling on Windows

Hartmut Niemann report at bugs.python.org
Fri Aug 21 13:20:19 CEST 2015


New submission from Hartmut Niemann:

Lib\sysconfig.py uses '{installed_base}/Include'
as the include directory on Windows, 

Lib\distutils\sysconfig.py uses 
elif os.name == "nt":
        return os.path.join(prefix, "include")

which is normally harmless because windows file systems
are case-preserving, but case-ignoring, but it leads to
a warning from pyinstaller:
https://github.com/pyinstaller/pyinstaller/issues/783

The directory referred to has a lowercase i (on my machine).

In my opinion both modules should use the spelling
that the installer uses when creating the directories.

----------
messages: 248949
nosy: htnieman
priority: normal
severity: normal
status: open
title: sysconfig.py and distutils.sysconfig.py disagree on directory spelling on Windows
versions: Python 2.7, Python 3.4

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


More information about the Python-bugs-list mailing list