Files
allianceauth/pyproject.toml
David Andrew 1cc0854c18 Merge branch 'master' into 'fix-issue-1419'
# Conflicts:
#   pyproject.toml
remove telenetlib3 keep soupsieve<3; python_version=='3.10'
2026-10-12 18:48:50 +00:00

154 lines
3.4 KiB
TOML

[build-system]
build-backend = "flit_core.buildapi"
requires = [
"flit-core>=3.2,<4",
]
[project]
name = "allianceauth"
readme = "README.md"
keywords = [
"allianceauth",
"eveonline",
]
license = { file = "LICENSE" }
authors = [
{ name = "Alliance Auth", email = "adarnof@gmail.com" },
]
requires-python = ">=3.10,<3.15"
classifiers = [
"Environment :: Web Environment",
"Framework :: Celery",
"Framework :: Django",
"Framework :: Django :: 5.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]
dynamic = [
"description",
"version",
]
dependencies = [
"bcrypt<5",
"beautifulsoup4",
"celery>=5.6,<6",
"celery-once>=3.0.1",
"django>=5.2,<6",
"django-bootstrap5>=23.3",
"django-celery-beat>=2.8",
"django-esi>=10",
"django-redis>=5.4",
"django-registration>=5.2,<6",
"django-solo",
"django-sortedm2m",
"django-sri<1",
"dnspython",
"httpx2",
"mysqlclient>=2.1",
"openfire-restapi",
"packaging>=21",
"passlib",
"pydiscourse",
"python-slugify>=1.2",
"pyyaml",
"redis>=5",
"requests>=2.9.1",
"requests-oauthlib",
"semantic-version",
"slixmpp<1.9",
"soupsieve<3; python_version=='3.10'", # See: https://gitlab.com/allianceauth/allianceauth/-/work_items/1476
"ua-parser",
"user-agents",
]
optional-dependencies.dev = [
"celery-types",
"djlint",
"flake8",
"isort",
]
optional-dependencies.docs = [
"myst-parser>=4",
"sphinx>=8",
"sphinx-copybutton",
"sphinx-rtd-theme>=3,<4",
"sphinx-tabs",
"sphinxcontrib-django",
]
optional-dependencies.mumble = [
"zeroc-ice<3.8; python_version<'3.12'",
"zeroc-ice>=3.8; python_version>='3.12'",
]
optional-dependencies.test = [
"coverage>=4.3.1",
"django-webtest",
"requests-mock>=1.2",
]
urls.Documentation = "https://allianceauth.readthedocs.io/"
urls.Homepage = "https://gitlab.com/allianceauth/allianceauth"
urls.Source = "https://gitlab.com/allianceauth/allianceauth"
urls.Tracker = "https://gitlab.com/allianceauth/allianceauth/-/issues"
scripts.allianceauth = "allianceauth.bin.allianceauth:main"
[tool.flit]
module.name = "allianceauth"
[tool.djlint]
max_attribute_length = 119
max_blank_lines = 1
max_line_length = 119
[tool.isort]
profile = "django"
sections = [
"FUTURE",
"STDLIB",
"THIRDPARTY",
"DJANGO",
"ESI",
"FIRSTPARTY",
"LOCALFOLDER",
]
skip_gitignore = true
known_django = [
# Lump relatively
"django",
"django_redis",
"django_registration",
]
known_esi = [
"esi",
]
[tool.flake8]
exclude = [
".git",
"*migrations*",
".tox",
"dist",
"htmlcov",
]
max-line-length = 119
select = [
"C", # pylint convention
"E", # pycodestyle error
"F", # pyflakes (flake8 base)
"W", # pycodestyle Warning
"B", # flake8-bugbear
]
ignore = [
"E501", # Line too long, WIP across repo.
]
per-file-ignores = [
"docker/conf/local.py:F405",
]