Re: [Distutils] requirements for variable python

2017-07-19 Thread Robin Becker
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 depend

Re: [Distutils] requirements for variable python

2017-07-19 Thread Daniel Holth
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 wrote: > Is there a way to build a universal wheel which needs an additional module > when > python 2.7 is being used. > > Current

[Distutils] requirements for variable python

2017-07-19 Thread Robin Becker
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