Skip to content

Commit

Permalink
Merge pull request #22017 from mattip/include-order
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
seberg committed Jul 22, 2022
2 parents ff6ea60 + 0723ee8 commit 45bc13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/testing/_private/extbuild.py
Original file line number Diff line number Diff line change
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 45bc13e

Please sign in to comment.