serge-sans-paille / pythran

Ahead of Time compiler for numeric kernels
https://pythran.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.99k stars 193 forks source link

Avoid redefining `NPY_NO_DEPRECATED_API` if already defined by user #2168

Closed rgommers closed 9 months ago

rgommers commented 9 months ago

This caused macro redefined warnings in SciPy when globally setting this macro on all build targets that have a numpy dependency.