-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·42 lines (36 loc) · 1.17 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
from setuptools import setup
SHORT_DESCRIPTION = 'Documentation generator for Swagger API'
try:
with open('README.md', encoding='utf8') as readme:
LONG_DESCRIPTION = readme.read()
except FileNotFoundError:
LONG_DESCRIPTION = SHORT_DESCRIPTION
setup(
name='foliantcontrib.swaggerdoc',
description=SHORT_DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
version='1.2.5',
author='Daniil Minukhin',
author_email='[email protected]',
packages=['foliant.preprocessors.swaggerdoc'],
package_data={'foliant.preprocessors.swaggerdoc': ['template/*.j2']},
license='MIT',
platforms='any',
install_requires=[
'foliant>=1.0.5',
'jinja2',
'ruamel.yaml==0.17.40',
'foliantcontrib.utils>=1.0.2',
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Documentation",
"Topic :: Utilities",
]
)