add numpy include dirs

This commit is contained in:
Qingming He 2016-10-14 22:52:06 -04:00
parent 9a528dc248
commit 62ce90cdd5

View file

@ -59,5 +59,9 @@ if have_cython:
kwargs.update({
'ext_modules': cythonize('openmc/data/reconstruct.pyx')
})
import numpy as np
kwargs.update({
'include_dirs': [np.get_include()]
})
setup(**kwargs)