allianceauth/pyproject.toml
2025-05-24 15:33:44 +10:00

138 lines
3.0 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"
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",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]
dynamic = [
"description",
"version",
]
dependencies = [
"bcrypt",
"beautifulsoup4",
"celery>=5.5,<6",
"celery-once>=3.0.1",
"django>=5.2,<6",
"django-bootstrap-form",
"django-bootstrap5>=23.3",
"django-celery-beat>=2.8",
"django-esi>=7.0.0b1",
"django-redis>=5.4",
"django-registration>=5.2,<6",
"django-solo",
"django-sortedm2m",
"django-sri",
"dnspython",
"mysqlclient>=2.1",
"openfire-restapi",
"packaging>=21",
"passlib",
"pydiscourse",
"python-slugify>=1.2",
"redis>=5",
"requests>=2.9.1",
"requests-oauthlib",
"semantic-version",
"slixmpp<1.9",
]
optional-dependencies.docs = [
"myst-parser>=4",
"sphinx>=8",
"sphinx-copybutton",
"sphinx-rtd-theme>=3,<4",
"sphinx-tabs",
"sphinxcontrib-django",
]
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.isort]
profile = "django"
sections = [
"FUTURE",
"STDLIB",
"THIRDPARTY",
"DJANGO",
"ESI",
"FIRSTPARTY",
"LOCALFOLDER",
]
known_esi = [
"esi",
]
known_django = [ #Lump relatively
"django",
"django_redis",
"django_registration",
]
skip_gitignore = true
[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",
]
[tool.djlint]
max_attribute_length = 119
max_line_length = 119
max_blank_lines = 1