We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 112b292 commit 554def0Copy full SHA for 554def0
setup.py
@@ -78,7 +78,7 @@ def build_extension(self, ext):
78
"PYBJDATA_NO_EXTENSION" not in os.environ and python_implementation() != "PyPy"
79
)
80
81
-COMPILE_ARGS = ["-std=c99", "-DUSE__BJDATA"]
+COMPILE_ARGS = ["-std=c99", "-DUSE__BJDATA", "-DNPY_NO_DEPRECATED_API", "-DNPY_1_7_API_VERSION"]
82
# For testing/debug only - some of these are GCC-specific
83
# COMPILE_ARGS += ['-Wall', '-Wextra', '-Wundef', '-Wshadow', '-Wcast-align', '-Wcast-qual', '-Wstrict-prototypes',
84
# '-pedantic']
0 commit comments