[Distutils] sandbox trying to run things before they're installed...again?

Ben Bangert ben at groovie.org
Tue Mar 7 22:30:54 CET 2006


On Mar 7, 2006, at 12:47 PM, Phillip J. Eby wrote:

> At 12:28 PM 3/7/2006 -0800, Ben Bangert wrote:
>> Shouldn't setuptools see that the install is failing because the
>> dependency needs to be installed, and install the dependency?
>
> If it knew what the dependencies were, there'd be no need to run  
> the setup script *first*.
>
> (Note that most setup scripts that import themselves or their  
> dependencies do it *before* they call setup(), so if the script  
> fails, it's not like setuptools has any idea what arguments they  
> were *going to* call setup() with.

Indeed, I just noticed that setup.py was importing version from the  
package, and the location it was importing, then imported other stuff  
that had the dependencies. Thanks for the pointer on what was going  
wrong.

- Ben



More information about the Distutils-SIG mailing list