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

Paul F. Dubois dubois1 at llnl.gov
Tue Apr 17 14:20:16 CDT 2001


On Tue, 17 Apr 2001, Johann Hibschman wrote:
> 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
> 
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/numpy-discussion

Such a change breaks other platforms... 




More information about the Numpy-discussion mailing list