[Numpy-discussion] Header files in windows installers
chris.barker at noaa.gov
Fri Feb 21 11:24:15 EST 2014
> I was unpleasantly surprised to discover that the numpy installers for
>> do not have an option to install the include files, which appear to be
>> all that
>> is needed to compile extensions that use numpy's C-api.
> That would be a bug. They can't all be missing though, because I'm able to
> compile scipy against numpy installed with those installers without
agreed -- i have been compiling extensions against numpy on Windows with
numpy from various binary installers for eyars -- never had a proble (with
include file,s snaywa...)
ARe you using:
to get the location of the headers for that install? It should be in your
setup.py file, something like:
my_ext = Extension(....
include = [np.get_include()].
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
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion