disable deprecated APIs in NumPy (from before version 1.7) to silence warning
This commit is contained in:
1
setup.py
1
setup.py
@ -11,6 +11,7 @@ peakfinder8_ext = Extension(
|
|||||||
include_dirs = [peakfinder8_include_dir, numpy.get_include()],
|
include_dirs = [peakfinder8_include_dir, numpy.get_include()],
|
||||||
library_dirs = [peakfinder8_library_dir],
|
library_dirs = [peakfinder8_library_dir],
|
||||||
libraries = ["peakfinder8"],
|
libraries = ["peakfinder8"],
|
||||||
|
define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")],
|
||||||
language = "c++"
|
language = "c++"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user