()
| 2141 | return _cache[cmdname] |
| 2142 | |
| 2143 | def get_numpy_include_dirs(): |
| 2144 | # numpy_include_dirs are set by numpy/core/setup.py, otherwise [] |
| 2145 | include_dirs = Configuration.numpy_include_dirs[:] |
| 2146 | if not include_dirs: |
| 2147 | import numpy |
| 2148 | include_dirs = [ numpy.get_include() ] |
| 2149 | # else running numpy/core/setup.py |
| 2150 | return include_dirs |
| 2151 | |
| 2152 | def get_npy_pkg_dir(): |
| 2153 | """Return the path where to find the npy-pkg-config directory. |
no outgoing calls
no test coverage detected