We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37a224d commit 602eda4Copy full SHA for 602eda4
setup.py
@@ -457,6 +457,11 @@ def run(self):
457
directives['linetrace'] = True
458
macros = [('CYTHON_TRACE', '1'), ('CYTHON_TRACE_NOGIL', '1')]
459
460
+# in numpy>=1.16.0, silence build warnings about deprecated API usage
461
+# we can't do anything about these warnings because they stem from
462
+# cython+numpy version mismatches.
463
+macros.append(('NPY_NO_DEPRECATED_API', '0'))
464
+
465
466
# ----------------------------------------------------------------------
467
# Specification of Dependencies
0 commit comments