-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (71 loc) · 2.12 KB
/
pyproject.toml
File metadata and controls
80 lines (71 loc) · 2.12 KB
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
[build-system]
requires = ["setuptools>=75.0"]
build-backend = "setuptools.build_meta"
[project]
name = "django-countdown"
version = "0.2.1"
description = "Display a maintenance countdown banner and block access to a Django site when the countdown expires."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{name = "Michał Pasternak", email = "michal.dtz@gmail.com"},
]
keywords = ["django", "countdown", "maintenance", "downtime", "banner", "sites"]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Django",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"django>=5.2",
]
[project.optional-dependencies]
test = [
"pytest>=8",
"pytest-django>=4.8",
"pytest-mock>=3.12",
"model_bakery>=1.17",
]
dev = [
"pre-commit",
"ruff",
]
[project.urls]
Homepage = "https://github.com/iplweb/django-countdown"
Repository = "https://github.com/iplweb/django-countdown"
Issues = "https://github.com/iplweb/django-countdown/issues"
Changelog = "https://github.com/iplweb/django-countdown/blob/main/CHANGELOG.md"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
django_countdown = [
"templates/**/*",
"static/**/*",
"locale/**/*",
]
[tool.ruff]
target-version = "py310"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.ruff.lint.per-file-ignores]
# Django auto-generated; do not hand-edit
"src/django_countdown/migrations/*" = ["E501"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
python_files = ["test_*.py", "tests.py"]
addopts = "-ra --ds=tests.settings"
testpaths = ["tests"]
pythonpath = ["."]