summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2017-02-14 17:06:45 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2017-02-14 17:07:29 -0500
commitc6ea69394eb6a518b5e6a27f08ae77f85cb733e6 (patch)
treef4171c73f1a255483797de36aedeeb2e4d17c722 /setup.py
parent1e3db181f9721090440358a5601725ed4d159341 (diff)
downloadpyisda-c6ea69394eb6a518b5e6a27f08ae77f85cb733e6.tar.gz
Add forward_hazard_rates property
this is also an example of returning a numpy array allocated with malloc on the C side.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index da5894c..dd76e0d 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from Cython.Build import cythonize
import numpy
all_extensions = Extension("*", ["pyisda/*.pyx"],
- include_dirs = ['c_layer'],
+ include_dirs = ['c_layer', numpy.get_include()],
libraries = ["cds"])
c_extension = Extension("pyisda.flat_hazard",