forked from pieterlexis/sphinxcontrib-openapi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
52 lines (45 loc) · 1.49 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
#!/usr/bin/env python
# coding: utf-8
import os
from io import open
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/ikalnytskyi/sphinxcontrib-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=True,
setup_requires=[
'setuptools_scm >= 1.15',
],
install_requires=[
'sphinxcontrib-httpdomain >= 1.5.0',
'PyYAML >= 3.12',
'jsonschema >= 2.5.1',
],
classifiers=[
'Topic :: Documentation',
'License :: OSI Approved :: BSD License',
'Environment :: Console',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
namespace_packages=['sphinxcontrib'],
)