blob: 56fd95cc0f30b8a983f476a678e5dc556c2fabef [file] [log] [blame]
Austin Schuhab802d52020-07-03 18:11:11 -07001from os import path
2
3try:
4 from numpy import __file__ as numpyloc
5
6 # Get numpy directory
7 numpy_dir = path.dirname(numpyloc)
8
9 # Print the result of joining this to core and include
10 print("-I" + path.join(numpy_dir, "core", "include"))
11except:
12 print("-DWITHOUT_NUMPY")