MCPcopy Create free account
hub / github.com/numpy/numpy / get_numpy_include_dirs

Function get_numpy_include_dirs

numpy/distutils/misc_util.py:2143–2150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2141 return _cache[cmdname]
2142
2143def 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
2152def get_npy_pkg_dir():
2153 """Return the path where to find the npy-pkg-config directory.

Callers 3

build_extensionMethod · 0.90
build_a_libraryMethod · 0.90
get_mathlibsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected