[Distutils] requirements for variable python

Daniel Holth dholth at gmail.com
Wed Jul 19 11:23:32 EDT 2017


Do you just need a conditional dependency?

      extras_require={          ':python_version=="2.7"': ['functools32'],


On Wed, Jul 19, 2017 at 11:20 AM Robin Becker <robin at reportlab.com> wrote:

> Is there a way to build a universal wheel which needs an additional module
> when
> python 2.7 is being used.
>
> Currently the run requirements for the module are
>
> python-dateutil
> jsonschema
>
> but in addition jsonschema needs functools32 for python 2.7.
>
> Is there a way to get the extra requirement used when python 2.7 is the
> installer? Or does this package not qualify for universalness.
> --
> Robin Becker
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170719/f5d3c003/attachment.html>


More information about the Distutils-SIG mailing list