On Thu, Feb 20, 2014 at 6:33 PM, Matt Newell <newellm@blur.com> wrote:

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.

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 problems.

Could you open an issue on Github and give details on which headers are missing where?

Ralf
 
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
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion