[Scipy-tickets] [SciPy] #1440: Build fails because include directories in site.cfg are not checked

SciPy Trac scipy-tickets@scipy....
Wed May 18 11:00:59 CDT 2011


#1440: Build fails because include directories in site.cfg are not checked
--------------------------+-------------------------------------------------
 Reporter:  ascent1729    |       Owner:  cdavid
     Type:  defect        |      Status:  new   
 Priority:  normal        |   Milestone:        
Component:  Build issues  |     Version:  0.9.0 
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by rgommers):

  * owner:  somebody => cdavid
  * component:  Other => Build issues


Comment:

 Can you try if adding the following to fftpack/setup.py helps?
 {{{
 from numpy.distutils.misc_util import get_numpy_include_dirs
 from distutils.sysconfig import get_python_inc
 ...
     config.add_extension('_fftpack',
         sources=sources,
         libraries=['dfftpack', 'fftpack'],
         include_dirs=['src', get_numpy_include_dirs(),
                       get_python_inc()])  # REPLACE, DON'T ADD THIS
 }}}

 It's not yet clear to me if this is a problem in fftpack/setup.py or a
 numpy.distutils bug.

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


More information about the Scipy-tickets mailing list