diff options
author | Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-10-28 17:23:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-28 17:23:07 (GMT) |
commit | 07eee640cb3a4eaf1df942bc31a891e7517de763 (patch) | |
tree | b6fa14217bb68d2be079c02afaab00e8deae9b5f /PC | |
parent | 955f96f6aae7c1a54d88c3f7a51c2e142ac7e4d4 (diff) | |
download | cpython-07eee640cb3a4eaf1df942bc31a891e7517de763.zip cpython-07eee640cb3a4eaf1df942bc31a891e7517de763.tar.gz cpython-07eee640cb3a4eaf1df942bc31a891e7517de763.tar.bz2 |
bpo-38519: Internal include files missing on Windows (GH-16921)
(cherry picked from commit edb172a87296d9359593a23cd9a09f5867ea1f0e)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Diffstat (limited to 'PC')
-rw-r--r-- | PC/layout/main.py | 7 |
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 |