[Numpy-discussion] BUG: NumPy exposes the wrong include directory

Stéfan van der Walt stefan at sun.ac.za
Wed Aug 25 04:30:16 EDT 2010


Hi all,

Without this patch, numpy.distutils is broken on, amongs others,
Ubuntu.  This prohibits packages such as Enthought's Enable from being
built successfully.

Would anyone object if I applied it to trunk?

Regards
Stéfan

2010/5/5 Stéfan van der Walt <stefan at sun.ac.za>:
> Hi all,
>
> Under Ubuntu, the NumPy headers are dumped under
> /usr/include/python2.6.  This is not the location that should be
> exposed when another copy of NumPy is installed.  The attached patch
> lets
>
> from numpy.distutils.system_info import get_info
> print get_info['numpy']
>
> return the correct path.  However, it's a quick hack, and I'd like
> someone familiar with numpy.distutils to have a look and suggest a
> proper fix.
>
> Regards
> Stéfan
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: system_info.patch
Type: text/x-diff
Size: 734 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100825/9eb66cf6/attachment.patch>


More information about the NumPy-Discussion mailing list