[Numpy-discussion] Re: Access to C/C++, typemaps, pyrex...

Robert Kern robert.kern at gmail.com
Sun Mar 12 20:57:03 CST 2006


Andrew Straw wrote:

> Note that setuptools 'automatically' deals with .pyx files: If you pass
> a source file that ends in .pyx, setuptools will run pyrexc on it if
> Pyrex is available, and otherwise use a '.c' file by the same name in
> the same directory.

I'm pretty sure that numpy.distutils does this (or something like it), too. C.f.
numpy/distutils/tests/pyrex_ext/.

-- 
Robert Kern
robert.kern at gmail.com

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco





More information about the Numpy-discussion mailing list