[Distutils] fix setup_requires by allowing it in setup.cfg or a setup_requires.txt

Marcus Smith qwcode at gmail.com
Thu May 15 22:59:47 CEST 2014


> Come to think of it it would be pretty easy to implement this feature
> without involving pip at all by writing a small setup.py replacement
> that knows how to look for and install the aforementioned
> requirements. If it does not finds them then it shells out to pip to
> install them in a build-dep directory. It adds build-dep to sys.path,
> and runs real-setup.py in its own process.
>

this technique would be a great topic for the PPUG
please post if you write it up.

> since setup.py needs setup_requires to be installed before it can run,
this feature is crap

well, you can write command extensions that depend on "setup_requires"
projects.
what's an example you're thinking of, for one of these "abstractions"?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140515/5ca11663/attachment.html>


More information about the Distutils-SIG mailing list