Commit a54629c4 authored by Matti Picus's avatar Matti Picus
Browse files

on windows, use the windows-specific pyconfig.h

--HG--
branch : py3.7
parent a28d31b01356
Pipeline #21476 passed with stage
in 7 minutes and 13 seconds
This diff is collapsed.
......@@ -190,6 +190,11 @@ def copy_header_files(cts, dstdir, copy_numpy_headers):
numpy_include_dir = include_dir / '_numpypy' / 'numpy'
numpy_headers = numpy_include_dir.listdir('*.h') + numpy_include_dir.listdir('*.inl')
_copy_header_files(numpy_headers, numpy_dstdir)
if WIN32:
# Override pyconfig.h with the one for windows
PC_dir = pypydir / 'module' / 'cpyext' / 'PC'
headers = PC_dir.listdir('*.h')
_copy_header_files(headers, dstdir)
class NotSpecified(object):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment