nipy / nireg

Brain image registration package
BSD 3-Clause "New" or "Revised" License
29 stars 12 forks source link

monkey patch a numpy distutils method to ensure cython building with numpy > 1.10 #4

Closed ggoret closed 8 years ago

ggoret commented 8 years ago

Hi, In the numpy/distutils/command/build_src.py module, the method generate_a_pyrex_source does not support Pyrex anymore (since numpy 1.10) To compile Cython code we have to monkey-patch this method in the setup. Thanks @matthew-brett for writing this patch !

Cheers,

Gael

alexis-roche commented 8 years ago

Thanks for that, Gael. It works on my box running python 2.7.6 and numpy 1.8.2.