reorganize pyproject.toml

This commit is contained in:
thomas girod
2024-06-24 11:24:08 +02:00
parent a8b9f38000
commit e06bc7dba3
4 changed files with 79 additions and 81 deletions

View File

@ -48,26 +48,28 @@ dict2xml = "^1.7.3"
Sphinx = "^5" # Needed for building xapian
tomli = "^2.0.1"
# Extra optional dependencies
coverage = {version = "^5.5", optional = true}
# Docs extra dependencies
sphinx-rtd-theme = {version = "^1.0.0", optional = true}
sphinx-copybutton = {version = "^0.4.0", optional = true}
[tool.xapian]
version = "1.4.25"
[tool.poetry.extras]
testing = ["coverage"]
docs = ["Sphinx", "sphinx-rtd-theme", "sphinx-copybutton"]
[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
freezegun = "^1.2.2" # used to test time-dependent code
django-debug-toolbar = "^4.0.0"
ipython = "^7.28.0"
black = "^23.3.0"
[tool.poetry.group.tests.dependencies]
coverage = "^7.5.4"
[tool.poetry.group.tests]
optional = true
[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"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"