-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
58 lines (55 loc) · 2.06 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import collections
import os
from setuptools import setup
CWD = os.path.abspath(os.path.dirname(__file__))
with open("README.md") as fobj:
long_description = fobj.read()
setup(
name="flake8-if-checker",
version="0.3.0",
author="Daniel Kuruc",
author_email="[email protected]",
license="MIT",
url="https://github.com/danie1k/python-flake8-if-checker",
project_urls=collections.OrderedDict(
(
("Code", "https://github.com/danie1k/python-flake8-if-checker"),
(
"Issue tracker",
"https://github.com/danie1k/python-flake8-if-checker/issues",
),
)
),
description="Flake8's IF statement complexity linter plugin",
long_description=long_description,
long_description_content_type="text/markdown",
keywords="pep8 flake8 conditional complexity",
py_modules=("flake8_if_checker",),
python_requires=">=2.7, <3.9",
install_requires=("flake8>3.2.0",),
extras_require={
"lint": ("flake8>=3.0.0", "isort>=4.3.0", "pylint>=1.9.0"),
"py3lint": ("black>=18.6b2", "mypy>=0.790", "typing"),
"tests": ("coverage>=5.0", "mock", "pytest>=4.6.0", "pytest-sugar"),
},
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: Flake8",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
],
entry_points={"flake8.extension": ("IF0 = flake8_if_checker:IfChecker",)},
)