From ef0e018fa2367188ba0aebbbc32897c63e6d4313 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Sat, 16 Jan 2016 07:04:55 -0600 Subject: [PATCH] Update setup.py for new entry-points and packages Comment out mccabe because it is currently broken with flake8 3.0 --- setup.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 064b28e..93e4fdb 100644 --- a/setup.py +++ b/setup.py @@ -45,17 +45,22 @@ setuptools.setup( maintainer="Ian Cordasco", maintainer_email="graffatcolmingov@gmail.com", url="https://gitlab.com/pycqa/flake8", - packages=["flake8", "flake8.options"], + packages=[ + "flake8", + "flake8.main", + "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", + # "mccabe >= 0.2.1, < 0.4", ], entry_points={ 'distutils.commands': ['flake8 = flake8.main:Flake8Command'], - 'console_scripts': ['flake8 = flake8.main:main'], + 'console_scripts': ['flake8 = flake8.main.cli:main'], 'flake8.extension': [ - 'F = flake8._pyflakes:FlakesChecker', + 'F = flake8.plugins.pyflakes:FlakesChecker', ], }, classifiers=[