-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
153 lines (132 loc) · 3.32 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
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
[build-system]
requires = [
"wheel",
"setuptools>=50.3.2",
"setuptools_scm[toml]>=3.4",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/saltext/prometheus/version.py"
write_to_template = "__version__ = \"{version}\""
[project]
name = "saltext.prometheus"
description = "Salt Extension for interacting with Prometheus"
authors = [
{name = "EITR Technologies, LLC", email = "[email protected]"},
]
keywords = [
"salt-extension",
]
license = {text = "Apache Software License"}
classifiers = [
"Programming Language :: Python",
"Programming Language :: Cython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
]
requires-python = ">= 3.9"
dynamic = ["version"]
dependencies = [
"salt>=3006",
"prometheus_client",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/salt-extensions/saltext-prometheus"
Documentation = "https://saltext-prometheus.readthedocs.io/en/latest/"
Source = "https://github.com/salt-extensions/saltext-prometheus"
Tracker = "https://github.com/salt-extensions/saltext-prometheus/issues"
[project.optional-dependencies]
changelog = ["towncrier==22.12.0"]
dev = [
"nox[uv]>=2024.3",
"pre-commit>=2.21.0",
]
docs = [
"sphinx",
"sphinx-prompt",
"sphinxcontrib-spelling",
"sphinx-copybutton",
"towncrier==22.12.0",
"sphinxcontrib-towncrier",
"myst_parser",
"furo",
"sphinx-inline-tabs",
]
docsauto = ["sphinx-autobuild"]
lint = [
"pylint==3.2.6",
]
tests = [
"pytest>=7.2.0",
"pytest-salt-factories>=1.0.0",
]
[project.entry-points."salt.loader"]
"saltext.prometheus" = "saltext.prometheus"
[tool.setuptools]
zip-safe = false
include-package-data = true
platforms = ["any"]
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["tests"]
[tool.distutils.bdist_wheel]
# Use this option if your package is pure-python
universal = 1
[tool.distutils.sdist]
owner = "root"
group = "root"
[tool.build_sphinx]
source_dir = "docs"
build_dir = "build/sphinx"
[tool.black]
line-length = 100
[tool.isort]
force_single_line = true
skip = ["src/saltext/prometheus/__init__.py"]
profile = "black"
line_length = 100
[tool.towncrier]
package = "saltext.prometheus"
filename = "CHANGELOG.md"
template = "changelog/.template.jinja"
directory = "changelog/"
start_string = "# Changelog\n"
underlines = ["", "", ""]
title_format = "## {version} ({project_date})"
issue_format = "[#{issue}](https://github.com/salt-extensions/saltext-prometheus/issues/{issue})"
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking changes"
showcontent = true
[[tool.towncrier.type]]
directory = "removed"
name = "Removed"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecated"
name = "Deprecated"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "security"
name = "Security"
showcontent = true