On Wed, Mar 26, 2014 at 11:29 PM, Daniel Holth <dho...@gmail.com> wrote:
> How do I specify a conditional (marker-guarded) non-extra dependency > in setuptools? The syntax for a conditional extra dependency is > currently: > > extras_require = { > "ssl:sys_platform=='win32'": "wincertstore==0.2", > "certs": "certifi==1.0.1", > }, > 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. The same cannot be said for any other package, so use at your own risk. Or better yet, don't use it. ;-) (At least, not until it's a documented feature w/a PEP-approved syntax.) _______________________________________________ > Distutils-SIG maillist - Distutils-SIG@python.org > https://mail.python.org/mailman/listinfo/distutils-sig >
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig