-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (46 loc) · 1.72 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
import os
import rest_framework
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
README = f.read()
setup(
name=rest_framework.__title__,
version=rest_framework.__version__,
packages=find_packages(
exclude=('tests', '*tests', '*tests*', 'docs', 'docs_theme')
), # We throw away from the assembly too much.
include_package_data=True,
test_suite='tests', # Include tests.
license='Apache 2.0', # Put the license.
description='Python Rest Framework. Box utils for easy makes rest api on python',
long_description=README,
long_description_content_type='text/markdown',
install_requires=['six>=1'],
tests_require=['codecov>=2', 'coverage>=4'],
extras_require={
'aiohttp': ['aiohttp'],
'flask': ['flask'],
'sanic': ['sanic']
},
setup_requires=['twine>=1', 'mkdocs>=1'],
url=rest_framework.__url__,
author=rest_framework.__author__,
author_email=rest_framework.__email__,
maintainer=rest_framework.__author__,
maintainer_email=rest_framework.__email__,
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
zip_safe=True,
)