-
-
Notifications
You must be signed in to change notification settings - Fork 473
/
Copy pathpyproject.toml
139 lines (121 loc) · 3.29 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "Authlib"
description = "The ultimate Python library in building OAuth and OpenID Connect servers and clients."
authors = [{name = "Hsiaoming Yang", email="[email protected]"}]
dependencies = [
"cryptography",
]
license = {text = "BSD-3-Clause"}
requires-python = ">=3.9"
dynamic = ["version"]
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"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 :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security",
"Topic :: Security :: Cryptography",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
]
[project.urls]
Documentation = "https://docs.authlib.org/"
Purchase = "https://authlib.org/plans"
Issues = "https://github.com/lepture/authlib/issues"
Source = "https://github.com/lepture/authlib"
Donate = "https://github.com/sponsors/lepture"
Blog = "https://blog.authlib.org/"
[dependency-groups]
dev = [
"coverage",
"cryptography",
"pytest",
"pytest-asyncio",
]
clients = [
"anyio",
"cachelib",
"django",
"flask",
"httpx",
"requests",
"starlette",
# there is an incompatibility with asgiref, pypy and coverage,
# see https://github.com/django/asgiref/issues/393 for details
"asgiref==3.6.0 ; implementation_name == 'pypy' and python_version < '3.10'",
]
django = [
"django",
"pytest-django",
# there is an incompatibility with asgiref, pypy and coverage,
# see https://github.com/django/asgiref/issues/393 for details
"asgiref==3.6.0 ; implementation_name == 'pypy' and python_version < '3.10'",
]
flask = [
"Flask",
"Flask-SQLAlchemy",
]
jose = [
"pycryptodomex>=3.10,<4",
]
docs = [
"shibuya",
"sphinx",
"sphinx-design",
"sphinx-copybutton",
]
[tool.setuptools.dynamic]
version = {attr = "authlib.__version__"}
[tool.setuptools.packages.find]
where = ["."]
include = ["authlib", "authlib.*"]
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]
ignore = [
"E501", # line-too-long
"E722", # bare-except
]
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.format]
docstring-code-format = true
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
asyncio_mode = "auto"
norecursedirs = ["authlib", "build", "dist", "docs", "htmlcov"]
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"except ImportError",
"def __repr__",
"raise NotImplementedError",
"raise DeprecationWarning",
"deprecate",
]
[tool.check-manifest]
ignore = ["tox.ini"]
[tool.distutils.bdist_wheel]
universal = true