2021-10-15 16:12:56 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "Sith"
|
2023-04-04 16:39:45 +00:00
|
|
|
version = "3"
|
2021-10-15 16:12:56 +00:00
|
|
|
description = "Le web Sith de l'AE"
|
|
|
|
authors = [
|
|
|
|
"Skia <skia@hya.sk>",
|
|
|
|
"klmp200 <antoine@bartuccio.fr>",
|
|
|
|
"Krophil <pierre.brunet@krophil.fr>",
|
2024-06-22 19:15:37 +00:00
|
|
|
"Maréchal <thgirod@hotmail.com>",
|
2021-10-15 16:12:56 +00:00
|
|
|
"Och <francescowitz68@gmail.com>",
|
|
|
|
"tleb <tleb@openmailbox.org>",
|
|
|
|
"Soldat <ryan-68@live.fr>",
|
|
|
|
"Nabos <gnikwo@hotmail.com>",
|
|
|
|
"Terre <jbaptiste.lenglet+git@gmail.com>",
|
|
|
|
"Lo-J <renaudg779@gmail.com>",
|
|
|
|
"Vial <robin.trioux@utbm.fr>"
|
|
|
|
]
|
|
|
|
documentation = "https://sith-ae.readthedocs.io/"
|
|
|
|
homepage = "https://ae.utbm.fr/"
|
|
|
|
license = "GPL-3.0-only"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2024-06-22 19:16:42 +00:00
|
|
|
python = "^3.10,<3.12" # Version is held back by mistune
|
2024-06-26 09:24:09 +00:00
|
|
|
Django = "^4.2.13"
|
2024-07-05 11:14:58 +00:00
|
|
|
Pillow = "^10.4.0"
|
2021-10-15 16:12:56 +00:00
|
|
|
mistune = "^0.8.4"
|
2024-06-26 13:29:05 +00:00
|
|
|
django-jinja = "^2.11"
|
|
|
|
cryptography = "^42.0.8"
|
2021-10-15 16:12:56 +00:00
|
|
|
pytz = "^2021.1"
|
2022-08-03 22:26:43 +00:00
|
|
|
djangorestframework = "^3.13"
|
2022-08-04 16:08:10 +00:00
|
|
|
django-phonenumber-field = "^6.3"
|
|
|
|
phonenumbers = "^8.12"
|
2021-10-15 16:12:56 +00:00
|
|
|
django-ajax-selects = "^2.1.0"
|
2024-06-22 19:15:37 +00:00
|
|
|
reportlab = "^4.2"
|
2022-08-03 22:26:43 +00:00
|
|
|
django-haystack = "^3.2.1"
|
|
|
|
xapian-haystack = "^3.0.1"
|
2023-05-11 12:19:19 +00:00
|
|
|
libsass = "^0.22"
|
2023-09-06 10:01:44 +00:00
|
|
|
django-ordered-model = "^3.7"
|
2022-08-04 16:08:10 +00:00
|
|
|
django-simple-captcha = "^0.5.17"
|
2021-10-15 16:12:56 +00:00
|
|
|
python-dateutil = "^2.8.2"
|
2024-06-22 19:15:37 +00:00
|
|
|
psycopg2-binary = "^2.9"
|
2023-04-26 09:08:06 +00:00
|
|
|
sentry-sdk = "^1.21.0"
|
2024-06-22 19:15:37 +00:00
|
|
|
pygraphviz = "^1.1"
|
2022-08-03 22:26:43 +00:00
|
|
|
Jinja2 = "^3.1"
|
2023-04-26 00:48:04 +00:00
|
|
|
django-countries = "^7.5.1"
|
2023-04-09 09:38:58 +00:00
|
|
|
dict2xml = "^1.7.3"
|
2024-06-22 19:15:37 +00:00
|
|
|
Sphinx = "^5" # Needed for building xapian
|
|
|
|
tomli = "^2.0.1"
|
2021-10-15 16:12:56 +00:00
|
|
|
|
2024-06-24 09:24:08 +00:00
|
|
|
[tool.poetry.group.dev.dependencies]
|
2023-04-09 19:37:48 +00:00
|
|
|
django-debug-toolbar = "^4.0.0"
|
2024-06-28 08:59:52 +00:00
|
|
|
ipython = "^8.26.0"
|
2024-06-26 17:00:41 +00:00
|
|
|
pre-commit = "^3.7.1"
|
|
|
|
ruff = "^0.4.10" # Version used in pipeline is controlled by pre-commit hooks in .pre-commit.config.yaml
|
2021-10-15 16:12:56 +00:00
|
|
|
|
2024-06-24 09:24:08 +00:00
|
|
|
[tool.poetry.group.tests.dependencies]
|
2024-06-26 17:00:41 +00:00
|
|
|
freezegun = "^1.2.2" # used to test time-dependent code
|
2024-06-26 17:10:24 +00:00
|
|
|
pytest = "^8.2.2"
|
|
|
|
pytest-cov = "^5.0.0"
|
|
|
|
pytest-django = "^4.8.0"
|
2024-06-24 09:24:08 +00:00
|
|
|
|
|
|
|
[tool.poetry.group.docs.dependencies]
|
|
|
|
sphinx-rtd-theme = "^1.0.0"
|
|
|
|
sphinx-copybutton = "^0.4.0"
|
|
|
|
|
|
|
|
[tool.poetry.group.docs]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[tool.xapian]
|
|
|
|
version = "1.4.25"
|
|
|
|
|
2024-06-24 11:07:36 +00:00
|
|
|
[tool.ruff.lint]
|
2024-06-27 12:46:43 +00:00
|
|
|
select = ["I", "A", "F401", "UP008", "UP009"]
|
2024-06-24 11:07:36 +00:00
|
|
|
|
2024-06-26 17:10:24 +00:00
|
|
|
[tool.pytest.ini_options]
|
|
|
|
DJANGO_SETTINGS_MODULE = "sith.settings"
|
|
|
|
python_files = ["tests.py", "test_*.py", "*_tests.py"]
|
2024-07-04 08:19:24 +00:00
|
|
|
markers = ["slow"]
|
2024-06-26 17:10:24 +00:00
|
|
|
|
2021-10-15 16:12:56 +00:00
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|