BUG: NumPy exposes the wrong include directory
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
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@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
2010/8/25 Stéfan van der Walt <stefan@sun.ac.za>:
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?
Could you wait a bit more - I would like to look at it in detail tonight. The ubuntu thing is annoying, but ultimately, it is a bug in how we do things, cheers, David
On Wed, Aug 25, 2010 at 6:58 PM, David Cournapeau <cournape@gmail.com>wrote:
2010/8/25 Stéfan van der Walt <stefan@sun.ac.za>:
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?
Ehm, didn't you apply it months ago in r8437? It hasn't broken anything, so no objections here.
Cheers, Ralf
Could you wait a bit more - I would like to look at it in detail tonight. The ubuntu thing is annoying, but ultimately, it is a bug in how we do things,
On 26 August 2010 16:42, Ralf Gommers <ralf.gommers@googlemail.com> wrote:
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?
Ehm, didn't you apply it months ago in r8437? It hasn't broken anything, so no objections here.
Ah, so I did :-) That'll teach me to "git svn rebase" on every machine! Anyway, it's probably good that David has a look at it, just in case. Thanks for the heads up, Ralf. Stéfan
participants (3)
-
David Cournapeau
-
Ralf Gommers
-
Stéfan van der Walt