-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (68 loc) · 2.29 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (68 loc) · 2.29 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
[project]
name = "my-project-name"
version = "0.1.0"
description = "Placeholder: Project short description"
readme = "README.md"
license = "BSD-3-Clause"
classifiers = [
# Update this based on your project's status.
# See: https://pypi.org/classifiers/
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"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",
"Framework :: Django",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Framework :: Wagtail",
"Framework :: Wagtail :: 7",
]
# See: https://devguide.python.org/versions/#supported-versions
requires-python = ">=3.10"
dependencies = [
# https://www.djangoproject.com/download/#supported-versions
"django>=5.2",
# https://github.com/wagtail/wagtail/wiki/Release-schedule
# https://docs.wagtail.org/en/latest/releases/upgrading.html#compatible-django-python-versions
"wagtail>=7.0",
]
[project.urls]
Homepage = "https://github.com/org-name-or-username/my-project-name"
Repository = "https://github.com/org-name-or-username/my-project-name"
Changelog = "https://github.com/org-name-or-username/my-project-name/blob/main/CHANGELOG.md"
Documentation = "https://github.com/org-name-or-username/my-project-name/tree/main/docs"
Issues = "https://github.com/org-name-or-username/my-project-name/issues"
# Add funding link if needed.
# Funding = "https://github.com/org-name-or-username/my-project-name"
[dependency-groups]
dev = [
"dj-database-url>=3.1.2",
"pytest>=8.1.1",
"pytest-cov>=7.1.0",
"pytest-django>=4.12.0",
"ruff>=0.15.9",
]
[build-system]
requires = ["uv_build>=0.11.19,<0.12"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "my_project_name"
source-exclude = [
"my_project_name/static_src",
"my_project_name/test",
"my_project_name/static/my_project_name/js/.gitignore",
"testmanage.py",
".*",
"*.js",
"*.json",
"*.ini",
"*.yml",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "my_project_name.test.settings"