mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-09 14:24:17 +00:00
Update setup.py for new entry-points and packages
Comment out mccabe because it is currently broken with flake8 3.0
This commit is contained in:
parent
4d86e44992
commit
ef0e018fa2
1 changed files with 9 additions and 4 deletions
13
setup.py
13
setup.py
|
|
@ -45,17 +45,22 @@ setuptools.setup(
|
||||||
maintainer="Ian Cordasco",
|
maintainer="Ian Cordasco",
|
||||||
maintainer_email="graffatcolmingov@gmail.com",
|
maintainer_email="graffatcolmingov@gmail.com",
|
||||||
url="https://gitlab.com/pycqa/flake8",
|
url="https://gitlab.com/pycqa/flake8",
|
||||||
packages=["flake8", "flake8.options"],
|
packages=[
|
||||||
|
"flake8",
|
||||||
|
"flake8.main",
|
||||||
|
"flake8.options",
|
||||||
|
"flake8.plugins",
|
||||||
|
],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"pyflakes >= 0.8.1, < 1.1",
|
"pyflakes >= 0.8.1, < 1.1",
|
||||||
"pep8 >= 1.5.7, != 1.6.0, != 1.6.1, != 1.6.2",
|
"pep8 >= 1.5.7, != 1.6.0, != 1.6.1, != 1.6.2",
|
||||||
"mccabe >= 0.2.1, < 0.4",
|
# "mccabe >= 0.2.1, < 0.4",
|
||||||
],
|
],
|
||||||
entry_points={
|
entry_points={
|
||||||
'distutils.commands': ['flake8 = flake8.main:Flake8Command'],
|
'distutils.commands': ['flake8 = flake8.main:Flake8Command'],
|
||||||
'console_scripts': ['flake8 = flake8.main:main'],
|
'console_scripts': ['flake8 = flake8.main.cli:main'],
|
||||||
'flake8.extension': [
|
'flake8.extension': [
|
||||||
'F = flake8._pyflakes:FlakesChecker',
|
'F = flake8.plugins.pyflakes:FlakesChecker',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue