forked from glowka/drf-yasg-json-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (45 loc) · 1.77 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
#!/usr/bin/env python
from __future__ import print_function
import io
from setuptools import find_packages
from setuptools import setup
with io.open('README.rst', encoding='utf-8') as readme:
description = readme.read()
with open('requirements/base.txt') as req:
requirements = [line.strip() for line in req.readlines() if line.strip() and not line.strip().startswith('#')]
setup(
name='drf-yasg-json-api',
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
extras_require={},
license='BSD License',
description='Automated generation of real Swagger/OpenAPI 2.0 schemas for JSON API Django Rest Framework '
'endpoints.',
long_description=description,
url='https://github.com/name/drf-yasg-json-api',
author='',
author_email='',
keywords='drf django django-rest-framework schema swagger openapi codegen swagger-codegen '
'documentation drf-yasg django-rest-swagger drf-openapi json-api',
python_requires=">=3.5",
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Development Status :: 5 - Production/Stable',
'Operating System :: OS Independent',
'Environment :: Web Environment',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Framework :: Django',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Topic :: Documentation',
'Topic :: Software Development :: Code Generators',
],
)