diff options
| author | Zvezdan Petkovic <zpetkovic@acm.org> | 2017-06-19 18:55:36 -0700 |
|---|---|---|
| committer | Zvezdan Petkovic <zpetkovic@acm.org> | 2017-07-10 18:20:49 -0700 |
| commit | a7068ad374b01c3a6040d3f1e3f5ae4bde494e27 (patch) | |
| tree | e6d19201d78db905f5aa305c2c8a2cd6b36e4ecf /src/flake8/api | |
| parent | 01f8824490a58720045e6acbb027613db05dfc7e (diff) | |
| download | flake8-a7068ad374b01c3a6040d3f1e3f5ae4bde494e27.tar.gz | |
Use extras_require instead of conditional code.
Use of extras_require produces correct package metadata for flake8
regardless of the version of Python the package is built with.
The conditional code produces different metadata for Python 3 and 2.
The latest versions of flake8 were released with Python 3 and metadata
did not contain two dependencies necessary for use with Python 2.7.
See https://gitlab.com/pycqa/flake8/issues/341 for details.
Account for users of setuptools<18 that still need the conditional code.
Diffstat (limited to 'src/flake8/api')
0 files changed, 0 insertions, 0 deletions
