diff options
author | Antoine Pitrou <pitrou@free.fr> | 2018-07-16 17:03:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 17:03:03 (GMT) |
commit | 961d54c5c1916c09883ebcf7191babc969e5a5cf (patch) | |
tree | 26c7252e3864548cd24c1e6df3a82c2de9f858dc /Lib/sysconfig.py | |
parent | 35c0809158be7feae4c4f877a08b93baea2d8291 (diff) | |
download | cpython-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/sysconfig.py')
-rw-r--r-- | Lib/sysconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 9ee4d31..e0f9c18 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -119,7 +119,7 @@ if "_PYTHON_PROJECT_BASE" in os.environ: _PROJECT_BASE = _safe_realpath(os.environ["_PYTHON_PROJECT_BASE"]) 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 |