[Distutils] Specify missing install-requires dependencies to develop egg?

Reinout van Rees reinout at vanrees.org
Fri Aug 26 04:50:23 CEST 2011


On 26-08-11 03:06, Matthew Brett wrote:
> 'nibabel' needs to import numpy to install

With your latest reply I re-read your original. Hm, this looks like a 
real problem: if your setup.py already imports from numpy (which your 
statement sounds like), numpy really needs to be there already.

The only thing I can think of right now is to have numpy installed 
globally and to use buildout 1.4.4 + osc.recipe.sysegg to depend on 
numpy. If you call the sysegg part right at the beginning, you might get 
it to work.


Alternative is to re-work your setup.py. Do you really need to import numpy?


Reinout

-- 
Reinout van Rees                    http://reinout.vanrees.org/
reinout at vanrees.org             http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"



More information about the Distutils-SIG mailing list