[Numpy-discussion] Header files in windows installers

Matt Newell newellm at blur.com
Thu Feb 20 12:33:35 EST 2014


I have a small c++ extension used to feed a 1d numpy array into a 
QPainterPath.  Very simple just using PyArray_[Check|FLAGS|SIZE|DATA]. 
I developed it on debian which was of course very straightforward, but now I 
need to deploy on windows, which is of course where the fun always begins.

I was unpleasantly surprised to discover that the numpy installers for window 
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.

I have actually managed to copy my set of include files from linux and with a 
few modifications to _numpyconfig.h got my extension compiled and working.

Is there any chance that the includes could be included in future releases?

Thanks,
Matt Newell



More information about the NumPy-Discussion mailing list