From b35be07c9d57f42a3fd04f869a876ce38f62722e Mon Sep 17 00:00:00 2001 From: Zackery Spytz Date: Thu, 24 Oct 2019 23:44:57 -0600 Subject: [PATCH 1/2] bpo-38519: Internal include files missing on Windows --- PC/layout/main.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/PC/layout/main.py b/PC/layout/main.py index e59858196249af0..3ca49d08e8f9817 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 From 60bfd3d655f6fc66e813ea7a1e6562a98197b6bc Mon Sep 17 00:00:00 2001 From: Zackery Spytz Date: Mon, 28 Oct 2019 05:02:05 -0600 Subject: [PATCH 2/2] Add a news entry. --- .../next/Windows/2019-10-28-05-01-29.bpo-38519.dCkY66.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Misc/NEWS.d/next/Windows/2019-10-28-05-01-29.bpo-38519.dCkY66.rst 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 000000000000000..56d8bb2b34c1019 --- /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.