<p dir="ltr"><br>
On 28 Mar 2014 04:40, "PJ Eby" <<a href="mailto:pje@telecommunity.com">pje@telecommunity.com</a>> wrote:<br>
><br>
> On Wed, Mar 26, 2014 at 11:29 PM, Daniel Holth <<a href="mailto:dholth@gmail.com">dholth@gmail.com</a>> wrote:<br>
>><br>
>> How do I specify a conditional (marker-guarded) non-extra dependency<br>
>> in setuptools? The syntax for a conditional extra dependency is<br>
>> currently:<br>
>><br>
>>     extras_require = {<br>
>>         "ssl:sys_platform=='win32'": "wincertstore==0.2",<br>
>>         "certs": "certifi==1.0.1",<br>
>>     },<br>
><br>
><br>
> I only implemented support via extras, and the feature wasn't officially supported (still isn't, I don't think) because the PEP specifying the syntax wasn't fully baked yet.  I figured that if *only* setuptools itself used it, then if the syntax changed only setuptools would break...  but fix itself at the same time.<br>

><br>
> The same cannot be said for any other package, so use at your own risk.  Or better yet, don't use it.  ;-)<br>
><br>
> (At least, not until it's a documented feature w/a PEP-approved syntax.)</p>
<p dir="ltr">Various things got in the way of finalising at least PEP 440, but as far as I am aware, it, 426 and 459 are basically done aside from updating the JSON schema specs and redoing the PyPI compatibility analysis. </p>

<p dir="ltr">The other thing they need is for people to read through from scratch, looking for inconsistencies and things that seem out of place, and reporting those as issues at <a href="https://bitbucket.org/pypa/pypi-metadata-formats">https://bitbucket.org/pypa/pypi-metadata-formats</a></p>

<p dir="ltr">Cheers,<br>
Nick.</p>
<p dir="ltr">><br>
><br>
>> _______________________________________________<br>
>> Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
>> <a href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
><br>
</p>