Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2acf7bd commit 1ccdfc1Copy full SHA for 1ccdfc1
1 file changed
setupext.py
@@ -898,6 +898,9 @@ def add_flags(self, ext):
898
ext.define_macros.append(('NPY_NO_DEPRECATED_API',
899
'NPY_1_7_API_VERSION'))
900
901
+ # Allow NumPy's printf format specifiers in C++.
902
+ ext.define_macros.append(('__STDC_FORMAT_MACROS', 1))
903
+
904
def get_setup_requires(self):
905
return ['numpy>=1.7.1']
906
0 commit comments