mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 13:06:53 +00:00
Add handling and decision making for select and ignore
This commit is contained in:
parent
0645ec3ef7
commit
eafc91ae6a
4 changed files with 249 additions and 6 deletions
17
setup.py
17
setup.py
|
|
@ -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'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue