bpo-38519: Internal include files missing on Windows (GH-16921)
This commit is contained in:
parent
e471e72977
commit
edb172a872
|
@ -0,0 +1,2 @@
|
||||||
|
Restores the internal C headers that were missing from the nuget.org and
|
||||||
|
Microsoft Store packages.
|
|
@ -216,12 +216,7 @@ def get_layout(ns):
|
||||||
|
|
||||||
if ns.include_dev:
|
if ns.include_dev:
|
||||||
|
|
||||||
def _c(d):
|
for dest, src in rglob(ns.source / "Include", "**/*.h"):
|
||||||
if d.is_dir():
|
|
||||||
return d.name != "internal"
|
|
||||||
return True
|
|
||||||
|
|
||||||
for dest, src in rglob(ns.source / "Include", "**/*.h", _c):
|
|
||||||
yield "include/{}".format(dest), src
|
yield "include/{}".format(dest), src
|
||||||
src = ns.source / "PC" / "pyconfig.h"
|
src = ns.source / "PC" / "pyconfig.h"
|
||||||
yield "include/pyconfig.h", src
|
yield "include/pyconfig.h", src
|
||||||
|
|
Loading…
Reference in New Issue