Austin Schuh | ab802d5 | 2020-07-03 18:11:11 -0700 | [diff] [blame] | 1 | from os import path |
2 | |||||
3 | try: | ||||
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")) | ||||
11 | except: | ||||
12 | print("-DWITHOUT_NUMPY") |