From 961d54c5c1916c09883ebcf7191babc969e5a5cf Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Mon, 16 Jul 2018 19:03:03 +0200 Subject: 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. --- Lib/sysconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/sysconfig.py') diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 9ee4d3185a..e0f9c18531 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 -- cgit v1.2.1