[Scipy-tickets] [SciPy] #1168: Scipy build issue due to incorrect numpy includes

SciPy Trac scipy-tickets@scipy....
Wed Mar 9 01:03:01 CST 2011

#1168: Scipy build issue due to incorrect numpy includes
 Reporter:  ysr           |       Owner:  cdavid     
     Type:  defect        |      Status:  needs_info 
 Priority:  normal        |   Milestone:  Unscheduled
Component:  Build issues  |     Version:  devel      
 Keywords:                |  
Changes (by rgommers):

  * status:  new => needs_info
  * milestone:  0.9.0 => Unscheduled


 Looked into this some more, and can't find anything wrong with the way
 these paths are
 handled. The {{{Configuration.numpy_include_dirs}}} is just named in an
 way, it doesn't seem used by the build. The actual distutils
 {{{Extension}}} object
 does contain the correct include paths.

 I think this is fixed, but if someone still runs into this issue, please
 report the
 output of:
 from numpy.distutils.core import setup
 from numpy.distutils.misc_util import Configuration,
 import numpy as np

 config = Configuration('testme')
 config.add_extension('pkgname', [], include_dirs=np.get_include())
 ext = config.ext_modules.pop()
 print config.numpy_include_dirs
 print ext.include_dirs
 print get_numpy_include_dirs()

 Also, try to change {{{get_include}}} in ndimage/setup.py to
 and see if it makes any difference.

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

More information about the Scipy-tickets mailing list