-
Notifications
You must be signed in to change notification settings - Fork 154
/
pyproject.toml
124 lines (119 loc) · 3.76 KB
/
pyproject.toml
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
116
117
118
119
120
121
122
123
124
[project]
name = "Flask-Security"
description = "Quickly add security features to your Flask application."
readme.content-type = "text/x-rst"
readme.file = "README.rst"
keywords = ["flask security"]
license = { file = "LICENSE.txt" }
maintainers = [{ name = "Chris Wagner", email = "jwag.wagner+github@gmail.com"}]
authors = [{ name = "Matt Wright"}, { name = "Chris Wagner", email = "jwag.wagner+github@gmail.com"}]
requires-python = ">=3.9"
urls.Documentation = "https://flask-security.readthedocs.io"
urls.Homepage = "https://github.com/pallets-eco/flask-security"
urls.Source = "https://github.com/pallets-eco/flask-security"
urls.Tracker = "https://github.com/pallets-eco/flask-security/issues"
urls.Releases = "https://pypi.org/project/Flask-Security/"
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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Development Status :: 5 - Production/Stable",
]
dynamic = [
"version",
]
dependencies = [
# flask dependencies include werkzeug, jinja2, itsdangerous, click, blinker
"Flask>=3.0.0",
"Flask-Login>=0.6.3",
"Flask-Principal>=0.4.0",
"Flask-WTF>=1.1.2",
"email-validator>=2.0.0",
"markupsafe>=2.1.0",
"passlib>=1.7.4",
"wtforms>=3.0.0", # for form-level errors
"importlib_resources>=5.10.0",
]
[project.optional-dependencies]
babel = ["babel>=2.12.1", "flask_babel>=3.1.0"]
fsqla = ["flask_sqlalchemy>=3.1.0", "sqlalchemy>=2.0.18", "sqlalchemy-utils>=0.41.1"]
common = ["argon2_cffi>=21.3.0", "bcrypt>=4.0.1", "flask_mailman>=0.3.0", "bleach>=6.0.0"]
mfa = ["cryptography>=40.0.2", "qrcode>=7.4.2", "phonenumberslite>=8.13.11", "webauthn>=2.0.0"]
low = [
# Lowest supported versions
"Flask==3.0.0",
"Flask-SQLAlchemy==3.1.0",
"Flask-SQLAlchemy-Lite==0.1.0;python_version>='3.10'",
"Flask-Babel==3.1.0",
"Flask-Mailman==0.3.0",
"Flask-Login==0.6.3",
"Flask-WTF==1.1.2",
"peewee==3.16.2",
"argon2_cffi==21.3.0",
"authlib==1.2.0",
"babel==2.12.1",
"bcrypt==4.0.1",
"bleach==6.0.0",
"freezegun",
"jinja2==3.1.2",
"itsdangerous==2.1.2",
"markupsafe==2.1.2",
"mongoengine==0.29.1",
"mongomock==4.1.2",
"pony==0.7.16;python_version<'3.11'",
"phonenumberslite==8.13.11",
"qrcode==7.4.2",
# authlib requires requests
"requests",
# passlib required setuptools
"setuptools",
"sqlalchemy==2.0.18",
"sqlalchemy-utils==0.41.1",
"webauthn==2.0.0",
"werkzeug==3.0.1",
"zxcvbn==4.4.28"
]
[build-system]
requires = ["flit_core >=3.8,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.module]
name = "flask_security"
[tool.flit.sdist]
include = [
"AUTHORS",
"CHANGES.rst",
"CONTRIBUTING.rst",
"LICENSE.txt",
".djlintrc",
".git-blame-ignore-revs",
".gitignore",
".pre-commit-config.yaml",
"babel.ini",
"codecov.yml",
"mypy.ini",
"pytest.ini",
"tox.ini",
"docs/",
"examples/",
"requirements",
"tests/",
]
exclude = ["docs/_build/"]
[tool.djlint]
ignore="H005,H006" # lang, img height/width
[tool.pyright]
include=["flask_security", "tests/view_scaffold.py"]
analyzeUnannotatedFunctions = "none"
reportMissingImports = false