Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (117 loc) · 2.62 KB
/
Copy pathpyproject.toml
File metadata and controls
132 lines (117 loc) · 2.62 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[build-system]
requires = ["setuptools", "setuptools-scm>8.1"]
build-backend = "setuptools.build_meta"
[project]
name = "django-config-models"
description = "Configuration models for Django allowing config management with auditing."
requires-python = ">=3.12"
license = "AGPL-3.0-or-later"
license-files = ["LICENSE*", "AUTHORS"]
authors = [
{name = "Open edX Project", email = "oscm@openedx.org"},
]
keywords = [
"Django",
"edx",
]
classifiers = [
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Framework :: Django :: 5.2',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.12',
]
dynamic = ["readme", "version"]
dependencies = [
"Django",
"djangorestframework>=3.6",
"edx-django-utils",
]
[project.urls]
Homepage = "https://github.com/openedx/django-config-models"
Repository = "https://github.com/openedx/django-config-models"
[dependency-groups]
test = [
"pytest-cov",
"pytest-django",
"ddt",
"freezegun",
"edx-django-release-util",
"Django>=5.2,<6.0",
]
quality = [
{include-group = "test"},
"edx-lint",
"pycodestyle",
"pydocstyle",
]
doc = [
{include-group = "test"},
"build",
"sphinx-book-theme",
"readme_renderer",
"Sphinx",
"twine",
]
ci = [
"tox",
"tox-uv",
]
dev = [
{include-group = "quality"},
{include-group = "doc"},
{include-group = "ci"},
"edx-i18n-tools",
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.dynamic]
readme = {file = ["README.rst"], content-type = "text/x-rst"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"*" = [
"**/*.html",
"**/*.png",
"**/*.gif",
"**/*js",
"**/*.css",
"**/*jpg",
"**/*jpeg",
"**/*svg",
]
[tool.semantic_release]
build_command = "pip install build && SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION python -m build"
tag_format = "v{version}"
major_on_zero = false
allow_zero_version = true
[tool.setuptools_scm]
version_scheme = 'only-version'
local_scheme = 'no-local-version'
fallback_version = "0.0.0.dev0"
[tool.uv]
constraint-dependencies = [
"Django<6.0",
"elasticsearch<7.14.0",
"social-auth-app-django<6.0.0",
"social-auth-core<5.0.0",
"pip<26.2.1",
]
[tool.edx_lint]
uv_constraints = []
[tool.coverage.run]
branch = true
data_file = ".coverage"
source = ["src"]
omit = [
"test_settings",
"*migrations*",
"*admin.py",
"*static*",
"*templates*",
]
[tool.pytest.ini_options]
addopts = "--cov --cov-report term-missing"
norecursedirs = [".*", "docs"]