-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (69 loc) · 1.86 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[tool.poetry]
name = "djan"
version = "0.1.1"
description = "Un racourcisseur d'URLs super simple"
readme = "README.md"
license = "MIT"
keywords = []
authors = [
"Salomé Cheysson <[email protected]>",
"Maud Royer <[email protected]>",
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
packages = [
{ include = "djan", from = "src"}
]
[tool.poetry.dependencies]
python = "^3.12"
django = ">=5.0.1"
django-redis = ">=5.4.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "*"
python-dotenv = "*"
ipython = "*"
coverage = { version = ">=6.5", extras = ["toml"] }
pytest = "*"
pytest-django ="*"
[tool.poetry.group.prod]
optional = true
[tool.poetry.group.prod.dependencies]
cysystemd = "^1.6.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[project.urls]
Documentation = "https://github.com/lafranceinsoumise/djan#readme"
Issues = "https://github.com/lafranceinsoumise/djan/issues"
Source = "https://github.com/lafranceinsoumise/djan"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "djan.tests.settings"
# -- recommended but optional:
python_files = ["test_*.py", "*_test.py", "tests/*.py"]
[tool.coverage.run]
source_pkgs = ["djan", "tests"]
branch = true
parallel = true
omit = [
"src/djan/__about__.py",
]
[tool.coverage.paths]
djan = ["src/djan", "*/djan/src/djan"]
tests = ["tests", "*/djan/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]