summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorAntoine Pitrou <pitrou@free.fr>2018-07-16 17:03:03 (GMT)
committerGitHub <noreply@github.com>2018-07-16 17:03:03 (GMT)
commit961d54c5c1916c09883ebcf7191babc969e5a5cf (patch)
tree26c7252e3864548cd24c1e6df3a82c2de9f858dc /Lib/distutils
parent35c0809158be7feae4c4f877a08b93baea2d8291 (diff)
downloadcpython-961d54c5c1916c09883ebcf7191babc969e5a5cf.zip
cpython-961d54c5c1916c09883ebcf7191babc969e5a5cf.tar.gz
cpython-961d54c5c1916c09883ebcf7191babc969e5a5cf.tar.bz2
bpo-32430: Rename Modules/Setup.dist to Modules/Setup (GH-8229)
bpo-32430: Rename Modules/Setup.dist to Modules/Setup Remove the necessity to copy the former manually to the latter when updating the local source tree.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/sysconfig.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
index e07a6c8..b433fc8 100644
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
@@ -36,10 +36,8 @@ if (os.name == 'nt' and
# python_build: (Boolean) if true, we're either building Python or
# building an extension with an un-installed Python, so we use
# different (hard-wired) directories.
-# Setup.local is available for Makefile builds including VPATH builds,
-# Setup.dist is available on Windows
def _is_python_source_dir(d):
- for fn in ("Setup.dist", "Setup.local"):
+ for fn in ("Setup", "Setup.local"):
if os.path.isfile(os.path.join(d, "Modules", fn)):
return True
return False