-
Notifications
You must be signed in to change notification settings - Fork 81
/
setup.py
executable file
·58 lines (51 loc) · 1.86 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
#!/usr/bin/env python
import os
from setuptools import setup, find_namespace_packages
here = os.path.dirname(__file__)
with open(os.path.join(here, "README.rst"), "r", encoding="utf-8") as f:
long_description = f.read()
setup(
name="sphinxcontrib-openapi",
description="OpenAPI (fka Swagger) spec renderer for Sphinx",
long_description=long_description,
license="BSD",
url="https://github.com/sphinx-contrib/openapi",
keywords="sphinx openapi swagger rest api renderer docs",
author="Ihor Kalnytskyi",
author_email="ihor@kalnytskyi.com",
packages=find_namespace_packages(include=["sphinxcontrib.*"]),
include_package_data=True,
zip_safe=False,
use_scm_version={"root": here},
setup_requires=["setuptools_scm >= 1.15"],
install_requires=[
"sphinx >= 2.0",
"sphinxcontrib-httpdomain >= 1.5.0",
"PyYAML >= 3.12",
"jsonschema >= 2.5.1",
"sphinx-mdinclude >= 0.5.2",
"picobox >= 2.2",
"deepmerge >= 0.1",
],
project_urls={
"Documentation": "https://sphinxcontrib-openapi.readthedocs.io/",
"Source": "https://github.com/sphinx-contrib/openapi",
"Bugs": "https://github.com/sphinx-contrib/openapi/issues",
},
classifiers=[
"Topic :: Documentation",
"Topic :: Documentation :: Sphinx",
"License :: OSI Approved :: BSD License",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Framework :: Setuptools Plugin",
"Framework :: Sphinx",
"Framework :: Sphinx :: Extension",
],
python_requires=">=3.9",
)