[Scipy-tickets] [SciPy] #1856: please consider inserting setup_requires for numpy into setup.py

SciPy Trac scipy-tickets@scipy....
Fri Mar 1 08:20:28 CST 2013


#1856: please consider inserting setup_requires for numpy into setup.py
------------------------------------------+---------------------------------
 Reporter:  beOn                          |       Owner:  cdavid     
     Type:  defect                        |      Status:  new        
 Priority:  normal                        |   Milestone:  Unscheduled
Component:  Build issues                  |     Version:  0.11.0     
 Keywords:  setup_requires buildout nupy  |  
------------------------------------------+---------------------------------
 To play nicely with buildout, it would be nice if you called:

 setuptools.dist.Distribution(dict(setup_requires='numpy'))

 ...or:

 distutils.dist.Distribution(dict(setup_requires='numpy'))

 ...before touching numpy in the setup script. If I'm thinking correctly -
 and it's early, so who knows - that would allow scipy to be built, even if
 numpy isn't on the current pythonpath.

 buildout builds each of the eggs you tell it to in series, but doesn't
 then import them onto the path of the python it is using to call the next
 setup.py. This would fix the problem for scipy from one angle. I'm working
 with them to fix it from another.

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


More information about the Scipy-tickets mailing list