-
Notifications
You must be signed in to change notification settings - Fork 72
/
setup.py
executable file
·46 lines (39 loc) · 1.64 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
"""
python -m build
twine upload dist/*
"""
from setuptools import setup, find_packages
def safrs_setup():
with open("requirements.txt", "rt") as fp:
install_requires = fp.read().strip().split("\n")
version = "3.1.5"
setup(
name="safrs",
packages=find_packages(exclude=['test']),
version=version,
license="MIT",
description="safrs : SqlAlchemy Flask-Restful Swagger2",
long_description=open("README.rst").read(),
author="Thomas Pollet",
author_email="[email protected]",
url="https://github.com/thomaxxl/safrs",
download_url="https://github.com/thomaxxl/safrs/archive/{}.tar.gz".format(version),
keywords=["SqlAlchemy", "Flask", "REST", "Swagger", "JsonAPI", "OpenAPI"],
python_requires=">=3.6, !=3.0.*, !=3.1.*, !=3.2.*, <4",
install_requires=install_requires,
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Intended Audience :: Developers",
"Framework :: Flask",
"Topic :: Software Development :: Libraries",
"Environment :: Web Environment",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.6",
],
extras_require={"admin": ["Flask-Admin>=1.5.8", "Flask-Cors>=3.0.9"], "db2api": ["inflect==5.0.2", "Flask-Cors>=3.0.9"]},
)
safrs_setup() # pragma: no cover