Skip to content

Commit

Permalink
Merge pull request #22078 from charris/backport-22017
Browse files Browse the repository at this point in the history
ENH: reorder includes for testing on top of system installations of NumPy
  • Loading branch information
charris committed Aug 3, 2022
2 parents 2fdf3c7 + 9d1d01a commit 72b98a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/testing/_private/extbuild.py
Expand Up @@ -102,7 +102,7 @@ def compile_extension_module(
dirname = builddir / name
dirname.mkdir(exist_ok=True)
cfile = _convert_str_to_file(source_string, dirname)
include_dirs = [sysconfig.get_config_var('INCLUDEPY')] + include_dirs
include_dirs = include_dirs + [sysconfig.get_config_var('INCLUDEPY')]

return _c_compile(
cfile, outputfilename=dirname / modname,
Expand Down

0 comments on commit 72b98a0

Please sign in to comment.