[Numpy-discussion] how to include numpy headers when building an extension?
Mon Sep 10 18:56:28 CDT 2007
I'm porting an extension from Numeric. At the top, I've changed:
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.
It looks like Numeric used to put its headers in a standard location,
but that numpy buries them deeper.
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
More information about the Numpy-discussion