[Numpy-discussion] C-API support for numarray added to NumPy

Travis Oliphant oliphant.travis at ieee.org
Tue Jun 20 05:06:11 EDT 2006

C-API support for numarray is now checked in to NumPy SVN. 

With this support you should be able to compile numarray extensions by 
changing the include line from numarray/libnumarray.h to numpy/libnumarray.h

You will also need to change the include directories used in compiling 
by appending the directories returned by 

This is most easily done using a numpy.distutils.misc_util Configuration 


The work is heavily based on numarray.  I just grabbed the numarray 
sources and translated the relevant functions to use NumPy's ndarray's. 

Please report problems and post patches.


More information about the NumPy-Discussion mailing list