2 Jul
2010
2 Jul
'10
10:07 p.m.
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