Skip to content

Commit

Permalink
bpo-38519: Internal include files missing on Windows (pythonGH-16921)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZackerySpytz authored and zooba committed Oct 28, 2019
1 parent e471e72 commit edb172a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Restores the internal C headers that were missing from the nuget.org and
Microsoft Store packages.
7 changes: 1 addition & 6 deletions PC/layout/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit edb172a

Please sign in to comment.