diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2017-01-09 15:38:59 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2017-01-09 15:38:59 -0500 |
| commit | e45cc3840ca5acff08dc2c266b705a098fdac0c8 (patch) | |
| tree | dbea4f086a56b8310c14fb2b1de4c516f37efd34 /setup.py | |
| parent | 37428c178b16c61c524b08445ac9cc989aa1068a (diff) | |
| download | pyisda-e45cc3840ca5acff08dc2c266b705a098fdac0c8.tar.gz | |
fix build
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,13 +1,14 @@ from distutils.core import setup from distutils.extension import Extension from Cython.Build import cythonize +import numpy all_extensions = Extension("*", ["pyisda/*.pyx"], include_dirs = ['c_layer'], libraries = ["cds"]) c_extension = Extension("pyisda.flat_hazard", - include_dirs = ['c_layer'], + include_dirs = ['c_layer', numpy.get_include()], sources = ['pyisda/flat_hazard.pyx', 'c_layer/cdsbootstrap.c'], libraries = ['cds']) all_extensions = cythonize([c_extension, all_extensions], nthreads = 4, |
