<p dir="ltr">The optional-features "extra" environment marker extension covers the test requirements case and any other class of optional dependencies.</p>
<div class="gmail_quote">On Feb 3, 2013 4:37 PM, "Vinay Sajip" <<a href="mailto:vinay_sajip@yahoo.co.uk">vinay_sajip@yahoo.co.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Nick Coghlan <ncoghlan <at> <a href="http://gmail.com" target="_blank">gmail.com</a>> writes:<br>
<br>
> With Donald Stufft's assistance, I've created a new draft of PEP 426.<br>
> For the moment I'm listed as a co-author and no longer as<br>
> BDFL-Delegate - there's a separate discussion on python-dev about<br>
> that.<br>
<br>
Still digesting the draft, but I notice that there's no specific provision for<br>
identifying dependencies that are only needed for tests (such as, say, nose).<br>
Distribute/setuptools distinguish between three types of dependency: setup,<br>
install and test. The benefit of keeping the test dependencies separate from the<br>
setup dependencies is that they needn't be downloaded unless you're going to run<br>
tests. Would it make sense to add a Test-Requires-Dist multiple-use field?<br>
<br>
Regards,<br>
<br>
Vinay Sajip<br>
<br>
_______________________________________________<br>
Distutils-SIG maillist - <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/distutils-sig" target="_blank">http://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</blockquote></div>