Skip to content

Commit 07eee64

Browse files
bpo-38519: Internal include files missing on Windows (GH-16921)
(cherry picked from commit edb172a) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
1 parent 955f96f commit 07eee64

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Restores the internal C headers that were missing from the nuget.org and
2+
Microsoft Store packages.

PC/layout/main.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,7 @@ def _c(d):
216216

217217
if ns.include_dev:
218218

219-
def _c(d):
220-
if d.is_dir():
221-
return d.name != "internal"
222-
return True
223-
224-
for dest, src in rglob(ns.source / "Include", "**/*.h", _c):
219+
for dest, src in rglob(ns.source / "Include", "**/*.h"):
225220
yield "include/{}".format(dest), src
226221
src = ns.source / "PC" / "pyconfig.h"
227222
yield "include/pyconfig.h", src

0 commit comments

Comments
 (0)