forked from pallets-eco/flask-security
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·66 lines (60 loc) · 2.21 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
"""Simple security for Flask apps."""
import re
from setuptools import find_packages, setup
with open("README.rst", encoding="utf8") as f:
readme = f.read()
with open("flask_security/__init__.py", encoding="utf8") as f:
version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)
install_requires = [
"Flask>=2.0.0,<2.3",
"Flask-Login>=0.6.0",
"Flask-Principal>=0.4.0",
"Flask-WTF>=1.0.0",
"email-validator>=1.1.1",
"itsdangerous>=2.0.0",
"passlib>=1.7.4",
"blinker>=1.4",
"wtforms>=3.0.0", # for form-level errors
]
packages = find_packages(exclude=["tests"])
setup(
name="Flask-Security-Too",
version=version,
description=__doc__,
long_description=readme,
keywords="flask security",
license="MIT",
author="Matt Wright & Chris Wagner",
author_email="[email protected]",
url="https://github.com/Flask-Middleware/flask-security",
project_urls={
"Documentation": "https://flask-security-too.readthedocs.io",
"Releases": "https://pypi.org/project/Flask-Security-Too/",
"Code": "https://github.com/Flask-Middleware/flask-security",
"Issue tracker": "https://github.com/Flask-Middleware/flask-security/issues",
},
packages=packages,
zip_safe=False,
include_package_data=True,
platforms="any",
python_requires=">=3.7",
install_requires=install_requires,
classifiers=[
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Development Status :: 5 - Production/Stable",
],
)