[Numpy-discussion] cython and f2py
Matthew Brett
matthew.brett at gmail.com
Fri Jul 2 16:07:44 EDT 2010
Hi,
> Can numpy.distutils be directed to process *.pyx with Cython rather than Pyrex?
Yes, but at the moment I believe you have to monkey-patch numpy
distutils : see the top of
http://github.com/matthew-brett/nipy/blob/master/setup.py
and "generate_a_pyrex_source" around line 289 of:
http://github.com/matthew-brett/nipy/blob/master/build_helpers.py
for how we've done it - there may be a better way - please post if you find it!
Best,
Matthew
More information about the NumPy-Discussion
mailing list