forked from pallets-eco/flask-security
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·115 lines (104 loc) · 3.4 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# -*- coding: utf-8 -*-
"""Simple security for Flask apps."""
import io
import re
from setuptools import find_packages, setup
with io.open("README.rst", "rt", encoding="utf8") as f:
readme = f.read()
with io.open("flask_security/__init__.py", "rt", encoding="utf8") as f:
version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)
tests_require = [
"Flask-Mongoengine>=0.9.5",
"peewee>=3.11.2",
"Flask-SQLAlchemy>=2.3",
"argon2_cffi>=19.1.0",
"bcrypt>=3.1.5",
"cachetools>=3.1.0",
"check-manifest>=0.25",
"coverage>=4.5.4",
"cryptography>=2.3.1",
"isort>=4.2.2",
"mock>=1.3.0",
"mongoengine>=0.15.3",
"mongomock>=3.14.0",
"msgcheck>=2.9",
"pony>=0.7.11",
"psycopg2>=2.8.4",
"pydocstyle>=1.0.0",
"pymysql>=0.9.3",
"pyqrcode>=1.2",
"pytest-black>=0.3.7",
"pytest-cache>=1.0",
"pytest-cov>=2.5.1",
"pytest-flake8>=1.0.4",
"pytest-mongo>=1.2.1",
"pytest>=3.5.1",
"sqlalchemy>=1.2.6",
"sqlalchemy-utils>=0.33.0",
"werkzeug>=0.14.1",
]
extras_require = {
"docs": ["Pallets-Sphinx-Themes>=1.2.0", "Sphinx>=1.8.5", "sphinx-issues>=1.2.0"],
"tests": tests_require,
}
extras_require["all"] = []
for reqs in extras_require.values():
extras_require["all"].extend(reqs)
setup_requires = ["Babel>=1.3", "pytest-runner>=2.6.2", "twine", "wheel"]
install_requires = [
"Flask>=1.0.2",
"Flask-Login>=0.3.0",
"Flask-Mail>=0.9.1",
"Flask-Principal>=0.4.0",
"Flask-WTF>=0.14.2",
"Flask-BabelEx>=0.9.3",
"itsdangerous>=1.1.0",
"passlib>=1.7.1",
]
packages = find_packages()
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/jwag956/flask-security",
project_urls={
"Documentation": "https://flask-security-too.readthedocs.io",
"Releases": "https://pypi.org/project/Flask-Security-Too/",
"Code": "https://github.com/jwag956/flask-security",
"Issue tracker": "https://github.com/jwag956/flask-security/issues",
},
packages=packages,
zip_safe=False,
include_package_data=True,
platforms="any",
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*",
extras_require=extras_require,
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
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 :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Development Status :: 4 - Beta",
],
)