Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit edb172a

Browse files
ZackerySpytzzooba
authored andcommitted
bpo-38519: Internal include files missing on Windows (GH-16921)
1 parent e471e72 commit edb172a

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)