add numpy header location in the setup script.
This commit is contained in:
parent
d8afe9be23
commit
f4145dd505
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue