From 0723ee83deb5b130dee2cf7f88b8e610797e01c2 Mon Sep 17 00:00:00 2001 From: mattip Date: Wed, 20 Jul 2022 16:31:23 +0300 Subject: ENH: reorder includes for system installations --- numpy/testing/_private/extbuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy') diff --git a/numpy/testing/_private/extbuild.py b/numpy/testing/_private/extbuild.py index b7a071e7f..9b4e95366 100644 --- a/numpy/testing/_private/extbuild.py +++ b/numpy/testing/_private/extbuild.py @@ -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, -- cgit v1.2.1