forked from sphinx-contrib/openapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (54 loc) · 1.97 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
#!/usr/bin/env python
import os
from setuptools import setup, find_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="[email protected]",
packages=find_packages(),
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",
"m2r >= 0.2",
],
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 :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Framework :: Setuptools Plugin",
"Framework :: Sphinx",
"Framework :: Sphinx :: Extension",
],
namespace_packages=["sphinxcontrib"],
python_requires=">=3.5",
)