-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsetup.py
58 lines (53 loc) · 1.96 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
from setuptools import setup
def readme():
with open("README.md") as f:
return f.read()
MAJOR, MINOR, MICRO = 2, 3, 2
__VERSION__ = "{}.{}.{}".format(MAJOR, MINOR, MICRO)
setup(
name="docstr-coverage",
version=__VERSION__,
description=(
"Utility for examining python source files to ensure proper documentation. "
"Lists missing docstrings, and calculates overall docstring coverage "
"percentage rating."
),
long_description_content_type="text/markdown",
long_description=readme(),
keywords="docstring coverage documentation audit source code statistics report",
url="https://github.com/HunterMcGushion/docstr_coverage",
author="Hunter McGushion",
author_email="hunter@mcgushion.com",
license="MIT",
packages=["docstr_coverage"],
install_requires=[
"click",
"PyYAML",
"tqdm",
"importlib_resources; python_version < '3.9'",
],
extras_require={
"lint": ["flake8==4.0.1", "black==22.3.0", "isort==5.10.1"],
"test": ["pytest==6.2.5", "pytest-mock==3.4.0"],
},
include_package_data=True,
zip_safe=False,
entry_points=dict(console_scripts=["docstr-coverage=docstr_coverage.cli:execute"]),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Documentation",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Utilities",
],
)