| 1 |
[build-system] |
| 2 |
requires = ["setuptools>=75.3.0", "setuptools-scm>=8"] |
| 3 |
build-backend = "setuptools.build_meta" |
| 4 |
|
| 5 |
[project] |
| 6 |
name = "django-allauth" |
| 7 |
dynamic = ["version"] |
| 8 |
authors = [ |
| 9 |
{name = "Raymond Penners", email = "[email protected]"}, |
| 10 |
] |
| 11 |
description = "Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication." |
| 12 |
readme = "README.rst" |
| 13 |
license = {text = "MIT"} |
| 14 |
classifiers = [ |
| 15 |
"Development Status :: 5 - Production/Stable", |
| 16 |
"Intended Audience :: Developers", |
| 17 |
"Topic :: Software Development :: Libraries :: Python Modules", |
| 18 |
"Environment :: Web Environment", |
| 19 |
"Topic :: Internet", |
| 20 |
"License :: OSI Approved :: MIT License", |
| 21 |
"Operating System :: OS Independent", |
| 22 |
"Programming Language :: Python", |
| 23 |
"Programming Language :: Python :: 3", |
| 24 |
"Programming Language :: Python :: 3.10", |
| 25 |
"Programming Language :: Python :: 3.11", |
| 26 |
"Programming Language :: Python :: 3.12", |
| 27 |
"Programming Language :: Python :: 3.13", |
| 28 |
"Programming Language :: Python :: 3.14", |
| 29 |
"Framework :: Django", |
| 30 |
"Framework :: Django :: 4.2", |
| 31 |
"Framework :: Django :: 5.0", |
| 32 |
"Framework :: Django :: 5.1", |
| 33 |
"Framework :: Django :: 5.2", |
| 34 |
"Framework :: Django :: 6.0", |
| 35 |
"Framework :: Django :: 6.1", |
| 36 |
] |
| 37 |
requires-python = ">= 3.10" |
| 38 |
dependencies = [ |
| 39 |
"Django >= 4.2.16", |
| 40 |
"asgiref >= 3.8.1", |
| 41 |
] |
| 42 |
|
| 43 |
[project.optional-dependencies] |
| 44 |
headless = [ |
| 45 |
"pyjwt[crypto] >= 2.0,<3", |
| 46 |
] |
| 47 |
headless-spec = [ |
| 48 |
"PyYAML >= 6,<7", |
| 49 |
] |
| 50 |
idp-oidc = [ |
| 51 |
"oauthlib >= 3.3.0,<4", |
| 52 |
"pyjwt[crypto] >= 2.0,<3", |
| 53 |
] |
| 54 |
mfa = [ |
| 55 |
"qrcode >= 7.0.0,<9", |
| 56 |
"fido2 >= 1.1.2,<3", |
| 57 |
] |
| 58 |
openid = [ |
| 59 |
"python3-openid >= 3.0.8,<4", |
| 60 |
] |
| 61 |
saml = [ |
| 62 |
"python3-saml>=1.15.0,<2.0.0", |
| 63 |
] |
| 64 |
steam = [ |
| 65 |
"python3-openid >= 3.0.8,<4", |
| 66 |
] |
| 67 |
socialaccount = [ |
| 68 |
"oauthlib >= 3.3.0,<4", |
| 69 |
"requests >= 2.0.0,<3", |
| 70 |
"pyjwt[crypto] >= 2.0,<3", |
| 71 |
] |
| 72 |
|
| 73 |
|
| 74 |
[project.urls] |
| 75 |
Homepage = "https://allauth.org" |
| 76 |
Documentation = "https://docs.allauth.org/en/latest/" |
| 77 |
"Release notes" = "https://codeberg.org/allauth/django-allauth/src/branch/main/ChangeLog.rst" |
| 78 |
Source = "https://codeberg.org/allauth/django-allauth" |
| 79 |
Tracker = "https://codeberg.org/allauth/django-allauth/issues" |
| 80 |
Funding = "https://github.com/sponsors/pennersr" |
| 81 |
|
| 82 |
[tool.bandit] |
| 83 |
exclude_dirs = ["tests", "allauth/conftest.py"] |
| 84 |
exclude = ["test_*"] |
| 85 |
|
| 86 |
[tool.isort] |
| 87 |
profile = "black" |
| 88 |
known_first_party = ["allauth"] |
| 89 |
indent = 4 |
| 90 |
combine_star = true |
| 91 |
combine_as_imports = true |
| 92 |
include_trailing_comma = true |
| 93 |
multi_line_output = 3 |
| 94 |
lines_after_imports = 2 |
| 95 |
known_django = ["django"] |
| 96 |
extra_standard_library = [ |
| 97 |
"types", "requests" |
| 98 |
] |
| 99 |
sections = ["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"] |
| 100 |
|
| 101 |
[tool.mypy] |
| 102 |
mypy_path = "." |
| 103 |
plugins = [ |
| 104 |
"mypy_django_plugin.main" |
| 105 |
] |
| 106 |
strict_optional = true |
| 107 |
disable_error_code = [ |
| 108 |
"import-untyped", |
| 109 |
"import-not-found", |
| 110 |
] |
| 111 |
warn_unused_configs = true |
| 112 |
warn_unused_ignores = true |
| 113 |
exclude = [ |
| 114 |
"allauth/account/migrations/.*", |
| 115 |
] |
| 116 |
|
| 117 |
[tool.django-stubs] |
| 118 |
django_settings_module = "tests.projects.regular.settings" |
| 119 |
|
| 120 |
[tool.setuptools.dynamic] |
| 121 |
version = {attr = "allauth.__version__"} |
| 122 |
|
| 123 |
[tool.setuptools_scm] |
| 124 |
|
| 125 |
[tool.setuptools.packages.find] |
| 126 |
include = ["allauth*"] |
| 127 |
|
| 128 |
[tool.setuptools.package-data] |
| •129 |
"*" = ["*.html", "*.txt", "*.xml", "*.po", "*.mo", "*.js", "*.yaml", "*.md"] |