[Distutils] wheel 0.24.0 released

2014-07-06 Thread Daniel Holth
The much-anticipated 0.24.0 release of wheel has occurred. - The python tag used for pure-python packages is now .pyN (major version only). This change actually occurred in 0.23.0 when the --python-tag option was added, but was not explicitly mentioned in the changelog then. - wininst2wheel an

Re: [Distutils] Specifying Python version as part of requirements

2014-07-06 Thread Daniel Holth
Something like extras_require = ':python_version=="2.6"': ['argparse'], 'example_extra_name:another == "4"': ['keyring'], See if it works to define a test extra in extras_require, and make your tests_require reference mypackagename[test]: extras_require = { 'test:python_version=="2.6"'

Re: [Distutils] Specifying Python version as part of requirements

2014-07-06 Thread Daniel Holth
Sorry it only works for install requires via the extras syntax. On Jul 6, 2014 12:18 PM, "Brett Cannon" wrote: > > > On Sat Jul 05 2014 at 9:26:26 AM, Daniel Holth wrote: > >> Setuptools supports it even without wheel. >> > How do you specify that since PEP 426 is oriented towards JSON metadata.

Re: [Distutils] Specifying Python version as part of requirements

2014-07-06 Thread Brett Cannon
On Sat Jul 05 2014 at 9:26:26 AM, Daniel Holth wrote: > Setuptools supports it even without wheel. > How do you specify that since PEP 426 is oriented towards JSON metadata. Would it be: test_requires = ["unittest2;python_version < '3.0'"] ? > On Jul 5, 2014 9:25 AM, "Brett Cannon" wrote: