
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

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@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@python.org https://mail.python.org/mailman/listinfo/distutils-sig

In fact no, I was fooled into thinking that by our requirements.txt file which is only used for local development. It seems that jsonschema already deals with the functools32 issue. I ought to install more often :) On 19/07/2017 16:23, Daniel Holth wrote:
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@reportlab.com> wrote:
........... -- Robin Becker
participants (2)
-
Daniel Holth
-
Robin Becker