mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-10-25 16:18:31 +00:00
152 lines
3.4 KiB
TOML
152 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.12,<3.15"
|
|
classifiers = [
|
|
"Environment :: Web Environment",
|
|
"Framework :: Celery",
|
|
"Framework :: Django",
|
|
"Framework :: Django :: 6.1",
|
|
"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.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.3,<6",
|
|
"celery-once>=3.0.1",
|
|
"django>=6.1,<7",
|
|
"django-bootstrap5>=26.2",
|
|
# "django-celery-beat>=2.9",
|
|
"django-celery-beat @ git+https://github.com/celery/django-celery-beat.git#egg=6df080f0f127076755a691d86ca633958a9f57c6",
|
|
"django-esi>=9.6",
|
|
"django-redis>=7",
|
|
"django-registration>=5.2,<6",
|
|
"django-solo>=2.5",
|
|
"django-sortedm2m>=4",
|
|
"django-sri>=0.8",
|
|
"dnspython",
|
|
"mysqlclient>=2.2.8",
|
|
"openfire-restapi",
|
|
"packaging>=21",
|
|
"passlib",
|
|
"pydiscourse",
|
|
"python-slugify>=1.2",
|
|
"pyyaml",
|
|
"redis>=8",
|
|
"requests>=2.9.1",
|
|
"requests-oauthlib",
|
|
"semantic-version",
|
|
"slixmpp<1.9",
|
|
"telnetlib3",
|
|
"ua-parser",
|
|
"user-agents",
|
|
]
|
|
optional-dependencies.dev = [
|
|
"celery-types",
|
|
"djlint",
|
|
"flake8",
|
|
"isort",
|
|
]
|
|
optional-dependencies.docs = [
|
|
"docutils==0.22", # Held 0.22 for Sphinx RTD Theme 3.1
|
|
"myst-parser>=5",
|
|
"sphinx>=9",
|
|
"sphinx-copybutton",
|
|
"sphinx-rtd-theme>=3.1,<4",
|
|
"sphinx-tabs>=3.5",
|
|
"sphinxcontrib-django",
|
|
]
|
|
optional-dependencies.mumble = [
|
|
"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",
|
|
]
|