diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index 52ffaecf49..da98506d3b --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ #!/usr/bin/env python import glob +import numpy as np try: from setuptools import setup have_setuptools = True @@ -57,7 +58,8 @@ if have_setuptools: # If Cython is present, add resonance reconstruction capability if have_cython: kwargs.update({ - 'ext_modules': cythonize('openmc/data/reconstruct.pyx') + 'ext_modules': cythonize('openmc/data/reconstruct.pyx'), + 'include_dirs': [np.get_include()] }) setup(**kwargs)