[Scipy-tickets] [SciPy] #1168: Error building scipy from svn

SciPy Trac scipy-tickets@scipy....
Sun Dec 5 01:29:57 CST 2010

#1168: Error building scipy from svn
 Reporter:  ysr           |       Owner:  cdavid
     Type:  defect        |      Status:  new   
 Priority:  normal        |   Milestone:  0.9.0 
Component:  Build issues  |     Version:  devel 
 Keywords:                |  

Comment(by rgommers):

 @Stefan: you fixed the get_include function, and
 {{{get_numpy_include_dirs}}} is also correct:
 In [20]: np.get_include()
 Out[20]: '/Users/rgommers/Code/numpy/numpy/core/include'

 In [21]: import numpy.distutils

 In [22]: np.distutils.misc_util.get_numpy_include_dirs()
 Out[22]: ['/Users/rgommers/Code/numpy/numpy/core/include']

 But (with PYTHONPATH set to my in-place build):
 In [12]: from numpy.distutils.misc_util import Configuration

 In [13]: Configuration.numpy_include_dirs
 Out[13]: []
 This is the problem I think. Should this not contain the correct path?

 The ndimage setup.py is the only module that calls numpy.get_include(),
 other modules just use Configuration.numpy_include_dirs I think.

Ticket URL: <http://projects.scipy.org/scipy/ticket/1168#comment:8>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list