From c6ea69394eb6a518b5e6a27f08ae77f85cb733e6 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Tue, 14 Feb 2017 17:06:45 -0500 Subject: Add forward_hazard_rates property this is also an example of returning a numpy array allocated with malloc on the C side. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') 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", -- cgit v1.2.3-70-g09d2