[Python-checkins] bpo-38519: Internal include files missing on Windows (GH-16921)
Miss Skeleton (bot)
webhook-mailer at python.org
Mon Oct 28 13:23:14 EDT 2019
https://github.com/python/cpython/commit/07eee640cb3a4eaf1df942bc31a891e7517de763
commit: 07eee640cb3a4eaf1df942bc31a891e7517de763
branch: 3.8
author: Miss Skeleton (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-10-28T10:23:07-07:00
summary:
bpo-38519: Internal include files missing on Windows (GH-16921)
(cherry picked from commit edb172a87296d9359593a23cd9a09f5867ea1f0e)
Co-authored-by: Zackery Spytz <zspytz at gmail.com>
files:
A Misc/NEWS.d/next/Windows/2019-10-28-05-01-29.bpo-38519.dCkY66.rst
M PC/layout/main.py
diff --git a/Misc/NEWS.d/next/Windows/2019-10-28-05-01-29.bpo-38519.dCkY66.rst b/Misc/NEWS.d/next/Windows/2019-10-28-05-01-29.bpo-38519.dCkY66.rst
new file mode 100644
index 0000000000000..56d8bb2b34c10
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2019-10-28-05-01-29.bpo-38519.dCkY66.rst
@@ -0,0 +1,2 @@
+Restores the internal C headers that were missing from the nuget.org and
+Microsoft Store packages.
diff --git a/PC/layout/main.py b/PC/layout/main.py
index e59858196249a..3ca49d08e8f98 100644
--- a/PC/layout/main.py
+++ b/PC/layout/main.py
@@ -216,12 +216,7 @@ def _c(d):
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
More information about the Python-checkins
mailing list