Comment 2 for bug 110133

Revision history for this message
Martijn Faassen (faassen) wrote : Re: [Bug 110133] setup.py needs code from another egg to build

On 4/26/07, Jim Fulton <email address hidden> wrote:
>
> On Apr 25, 2007, at 8:49 PM, Martijn Faassen wrote:
>
> > Public bug reported:
> >
> > I've been trying to build SciPy using buildout. SciPy has a
> > setup.py which uses distutils infrastructure provided by NumPy.
> > SciPy won't install
> > without NumPy already available on the Python path as it needs it
> > for its build infrastructure. NumPy, incidentally, itself does
> > work with buildout, using its own distutils logic placing it on the
> > path through hackery.
>
> I don't suppose SciPy uses the build_requires setup keyword.

I don't recall seeing it. Unfortunately many of these setup.py's
contain serious hackery in general...

> Perhaps the custom and develop recipes should grow a setup-requires
> to name distributions that must be in the working set when building a
> distribution. Do you think that would address this situation?

Yes, that would help in this case, I think.