[Numpy-discussion] Numeric on OS X - Anyone get it to work ?

Johann Hibschman johann at physics.berkeley.edu
Tue Apr 17 15:11:53 EDT 2001


Konrad Hinsen writes:

> You'd have to declare PyArray_API static in each module, but that
> won't be easy as some modules consist of more than one C source file.


All I did was insert a

#define NO_IMPORT_ARRAY

before the
#include "arrayobject.h"

in umathmodule.c

I repeated this for all the Packages, and it seems to work just fine.

--Johann

-- 
Johann Hibschman                           johann at physics.berkeley.edu




More information about the NumPy-Discussion mailing list