summaryrefslogtreecommitdiffstats
path: root/PC/layout/main.py
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-10-28 17:03:27 (GMT)
committerSteve Dower <steve.dower@python.org>2019-10-28 17:03:27 (GMT)
commitedb172a87296d9359593a23cd9a09f5867ea1f0e (patch)
tree64359f31ad97fe423526941e2821781c15da1336 /PC/layout/main.py
parente471e72977c83664f13d041c78549140c86c92de (diff)
downloadcpython-edb172a87296d9359593a23cd9a09f5867ea1f0e.zip
cpython-edb172a87296d9359593a23cd9a09f5867ea1f0e.tar.gz
cpython-edb172a87296d9359593a23cd9a09f5867ea1f0e.tar.bz2
bpo-38519: Internal include files missing on Windows (GH-16921)
Diffstat (limited to 'PC/layout/main.py')
-rw-r--r--PC/layout/main.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/PC/layout/main.py b/PC/layout/main.py
index e598581..3ca49d0 100644
--- a/PC/layout/main.py
+++ b/PC/layout/main.py
@@ -216,12 +216,7 @@ def get_layout(ns):
if ns.include_dev:
- def _c(d):
- if d.is_dir():
- return d.name != "internal"
- return True
-
- for dest, src in rglob(ns.source / "Include", "**/*.h", _c):
+ for dest, src in rglob(ns.source / "Include", "**/*.h"):
yield "include/{}".format(dest), src
src = ns.source / "PC" / "pyconfig.h"
yield "include/pyconfig.h", src