-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
52 lines (44 loc) · 1.56 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
import os
from setuptools import setup, find_packages
__version__ = "1.1.2"
requirements_filepath = os.path.join(os.path.dirname(__name__), "requirements.txt")
with open(requirements_filepath) as fp:
install_requires = fp.read()
def get_description():
"""
Read full description from 'README.rst'
"""
with open('README.rst', 'r', encoding='utf-8') as f:
return f.read()
setup(
name="ComboJSONAPI",
version=__version__,
description="4 plugins for Flask-COMBO-JSONAPI package.",
long_description=get_description(),
long_description_content_type='text/x-rst',
url="https://github.com/AdCombo/combojsonapi",
author="AdCombo Team",
author_email="roman@adcombo.com",
license="MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Flask",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Topic :: Internet",
],
keywords="web api rest rpc swagger jsonapi flask sqlalchemy marshmallow plugin",
packages=find_packages(exclude=["tests"]),
package_data={"": ["apispec/templates/*.html"]},
include_package_data=True,
zip_safe=False,
platforms="any",
install_requires=install_requires,
setup_requires=["pytest-runner"],
tests_require=["pytest"],
extras_require={"tests": "pytest", "docs": "sphinx"},
)