[Cython] Include paths for pyximport
Brett Calcott
brett.calcott at gmail.com
Tue May 5 05:08:21 CEST 2009
Hi all,
I'm using pyimport and writing some extensions to work numpy. To get things
to happen magically the compiler needs to be able to find the header files.
I've got it working on my mac, by adding a line to my .bashrc
export C_INCLUDE_PATH=/Library/Python/2.5/site-packages/numpy/core/include
I'd like to get it working on windows. I've added the equivalent path in my
windows env (set INCLUDE=...), but I'm getting an error telling me it cannot
find the "include/arrayobject.h". I've tried setting the right directory in
the GUI too, but to no avail.
Can anyone tell me the easy/right way to add include paths for pyximport on
windows. Is there a better and portable way to do this?
Thanks,
Brett
ps. pyximport rocks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/cython-dev/attachments/20090505/318288a9/attachment.htm
More information about the Cython-dev
mailing list