-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
58 lines (52 loc) · 2.1 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
from __future__ import print_function
import io
from setuptools import find_packages
from setuptools import setup
with io.open('README.md', 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(
use_scm_version=True,
name='drf-yasg-json-api',
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
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,
long_description_content_type='text/markdown',
url='https://github.com/glowka/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.6",
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',
'Programming Language :: Python :: 3.9',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Topic :: Documentation',
'Topic :: Software Development :: Code Generators',
],
)