From 62ce90cdd54eae0e8a44bd7b748b5b0761dc39ba Mon Sep 17 00:00:00 2001 From: Qingming He <906459647@qq.com> Date: Fri, 14 Oct 2016 22:52:06 -0400 Subject: [PATCH] add numpy include dirs --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 52ffaecf49..678ea3f407 100644 --- a/setup.py +++ b/setup.py @@ -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)