forked from mitmproxy/pdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
69 lines (63 loc) · 1.87 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
59
60
61
62
63
64
65
66
67
68
69
import re
from pathlib import Path
from setuptools import setup, find_packages
here = Path(__file__).parent
long_description = (here / "README.md").read_text("utf8")
VERSION = re.search(
r'__version__ = "(.+?)"', (here / "pdoc" / "__init__.py").read_text("utf8")
).group(1)
setup(
name="pdoc",
author="Maximilian Hils",
author_email="[email protected]",
version=VERSION,
license="UNLICENSE",
description="A simple program and library to auto generate API documentation for Python modules.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://pdoc.dev/",
project_urls={
"Source": "https://github.com/mitmproxy/pdoc/",
"Documentation": "https://pdoc.dev/docs/pdoc.html",
"Issues": "https://github.com/mitmproxy/pdoc/issues",
},
classifiers=[
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
"Topic :: Utilities",
"License :: Public Domain",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
packages=find_packages(
include=[
"pdoc",
"pdoc.*",
]
),
include_package_data=True,
entry_points={"console_scripts": ["pdoc = pdoc.__main__:cli"]},
python_requires=">=3.8",
install_requires=[
"Jinja2",
"markdown2",
"pygments",
"astunparse; python_version<'3.9'",
],
extras_require={
"dev": [
"flake8",
"mypy",
"pytest",
"pytest-cov",
"pytest-timeout",
"tox",
"twine",
"wheel",
]
},
)