[Numpy-discussion] Header files in windows installers

Ralf Gommers ralf.gommers at gmail.com
Fri Feb 21 01:09:34 EST 2014


On Thu, Feb 20, 2014 at 6:33 PM, Matt Newell <newellm at 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 at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140221/0f8f8384/attachment.html>


More information about the NumPy-Discussion mailing list