Christopher Barker wrote:
> Hi all,
> 
> I'm porting an extension from Numeric. At the top, I've changed:
> 
> #include <Numeric/arrayobject.h>
> 
> to
> 
> #include <numpy/arrayobject.h>
> 
> But distutils can't find numpy/arrayobject.h -- how do I tell distutils 
> where to look for it? I've gotten it to work by hard-coding the entire 
> path, but that's not very portable.

numpy.get_include()

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to