[Distutils] setup_requires for dev environments

Nick Coghlan ncoghlan at gmail.com
Fri Mar 20 10:19:52 CET 2015


On 20 Mar 2015 09:07, "Ionel Cristian Mărieș" <contact at ionelmc.ro> wrote:
>
>
> On Thu, Mar 19, 2015 at 10:38 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>>
>> I believe setuptools can already do this (as "setup-requirements.txt"),
but it's a generated file that people tend not to check into source control.
>
>
> ​Isn't that just some project's convention - they just read it up ​in
setup.py? Setuptools doesn't do anything with it by itself.

I mean the setuptools feature that writes "setup_requires.txt" to the
metadata directory so you can read it without running setup.py again.
However looking at https://pythonhosted.org/setuptools/history.html shows
that both times it has been added (8.4 and 12.4) the feature has had to be
reverted due to breaking upgrades from earlier versions :(

As long as setuptools lacks the ability to generate that file, I suspect
this discussion will remain largely theoretical.

Regards,
Nick.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20150320/a0b6f513/attachment.html>


More information about the Distutils-SIG mailing list