diff --git a/setup.py b/setup.py index d34ec32..3162f1f 100644 --- a/setup.py +++ b/setup.py @@ -11,6 +11,7 @@ peakfinder8_ext = Extension( include_dirs = [peakfinder8_include_dir, numpy.get_include()], library_dirs = [peakfinder8_library_dir], libraries = ["peakfinder8"], + define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")], language = "c++" )