add numpy header location in the setup script.

This commit is contained in:
Chen Zhang 2015-08-25 18:06:36 +00:00
parent d8afe9be23
commit f4145dd505
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ from distutils.extension import Extension
from Cython.Distutils import build_ext from Cython.Distutils import build_ext
import numpy as np import numpy as np
ext = [Extension("corientation", ["corientation.pyx"])] ext = [Extension("corientation", ["corientation.pyx"],
include_dirs=[np.get_include()])]
setup( setup(
name="corientation", name="corientation",