diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-02-02 20:48:26 -0600 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-02-02 20:48:26 -0600 |
| commit | eafc91ae6ad5c05b3e036733d73a0edac9070192 (patch) | |
| tree | ca71273c5f33b3460e0b3cb374c5ea3861810df0 /setup.py | |
| parent | 0645ec3ef771c8e2e6ef39bdd5eb360067d147b9 (diff) | |
| download | flake8-eafc91ae6ad5c05b3e036733d73a0edac9070192.tar.gz | |
Add handling and decision making for select and ignore
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -2,6 +2,7 @@ # -*- coding: utf-8 -*- from __future__ import with_statement import setuptools +import sys import flake8 @@ -25,6 +26,16 @@ if mock is None: tests_require += ['mock'] +requires = [ + "pyflakes >= 0.8.1, < 1.1", + "pep8 >= 1.5.7, != 1.6.0, != 1.6.1, != 1.6.2", + # "mccabe >= 0.2.1, < 0.4", +] + +if sys.version_info < (3, 4): + requires.append("enum34") + + def get_long_description(): """Generate a long description from the README and CHANGES files.""" descr = [] @@ -51,11 +62,7 @@ setuptools.setup( "flake8.options", "flake8.plugins", ], - install_requires=[ - "pyflakes >= 0.8.1, < 1.1", - "pep8 >= 1.5.7, != 1.6.0, != 1.6.1, != 1.6.2", - # "mccabe >= 0.2.1, < 0.4", - ], + install_requires=requires, entry_points={ 'distutils.commands': ['flake8 = flake8.main:Flake8Command'], 'console_scripts': ['flake8 = flake8.main.cli:main'], |
