[Numpy-discussion] Cython headers in numpy include

Matthew Brett matthew.brett at gmail.com
Thu Jun 19 18:46:31 EDT 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