forked from dpgaspar/Flask-AppBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
92 lines (81 loc) · 2.8 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import io
import os
import re
from setuptools import find_packages, setup
with io.open("flask_appbuilder/__init__.py", "rt", encoding="utf8") as f:
version = re.search(r"__version__ = \"(.*?)\"", f.read()).group(1)
def fpath(name):
return os.path.join(os.path.dirname(__file__), name)
def read(fname):
return open(fpath(fname)).read()
def desc():
return read("README.rst")
setup(
name="Flask-AppBuilder",
version=version,
url="https://github.com/dpgaspar/flask-appbuilder/",
license="BSD",
author="Daniel Vaz Gaspar",
author_email="[email protected]",
description=(
"Simple and rapid application development framework, built on top of Flask."
" includes detailed security, auto CRUD generation for your models,"
" google charts and much more."
),
long_description=desc(),
long_description_content_type="text/x-rst",
packages=find_packages(exclude=["tests*"]),
package_data={"": ["LICENSE"]},
entry_points={
"flask.commands": ["fab=flask_appbuilder.cli:fab"],
"console_scripts": ["fabmanager = flask_appbuilder.console:cli"],
},
include_package_data=True,
zip_safe=False,
platforms="any",
install_requires=[
"apispec[yaml]>=6.0.0, <7",
"colorama>=0.3.9, <1",
"click>=8, <9",
"email_validator>=1.0.5, <2",
"Flask>=2, <3",
"Flask-Babel>=1, <3",
"Flask-Limiter>3,<4",
"Flask-Login>=0.3, <0.7",
"Flask-SQLAlchemy>=2.4, <3",
"Flask-WTF>=0.14.2, <2",
"Flask-JWT-Extended>=4.0.0, <5.0.0",
"jsonschema>=3, <5",
"marshmallow>=3.18.0, <4",
"marshmallow-sqlalchemy>=0.22.0, <0.27.0",
"python-dateutil>=2.3, <3",
"prison>=0.2.1, <1.0.0",
"PyJWT>=2.0.0, <3.0.0",
# Cautious cap
"SQLAlchemy<1.5",
"sqlalchemy-utils>=0.32.21, <1",
"WTForms<4",
],
extras_require={
"jmespath": ["jmespath>=0.9.5"],
"oauth": ["Authlib>=0.14, <2.0.0"],
"openid": ["Flask-OpenID>=1.2.5, <2"],
"talisman": ["flask-talisman>=1.0.0, <2.0"],
},
tests_require=["nose>=1.0", "mockldap>=0.3.0", "hiro>=0.5.1"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires="~=3.7",
test_suite="nose.collector",
)