[Numpy-discussion] Cython headers in numpy include

Matthew Brett matthew.brett@gmail....
Thu Jun 19 17:46:31 CDT 2008


Hi,

Following on from Fernando's post about his Cython example, I would
like to suggest adding his .pxd files to the standard numpy include
directory, fetched with np.get_include()

Why:
Because anyone writing a Cython extension for numpy will need these
files.  At the moment, this means that everyone will have need a copy
of these files
in their package directory or similar, and it will be less likely that
people will share any improvements, fixes or extensions.

Alternatively, or additionally, add np.get_pxd_include()

Any thoughts?

Matthew


More information about the Numpy-discussion mailing list