-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
45 lines (39 loc) · 1.2 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
[project]
name = "opentelemetry-sdk-extension-prometheus-multiprocess"
authors = [{ name = "Zeit Online", email = "[email protected]" }]
dynamic = ["version", "readme"]
dependencies = [
"opentelemetry-sdk",
"requests",
"opentelemetry-exporter-prometheus",
]
[project.optional-dependencies]
test = [
"pytest",
]
[build-system]
requires = ["hatchling", "hatch-fancy-pypi-readme"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/opentelemetry/sdk/extension/prometheus_multiprocess/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/opentelemetry"]
[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/x-rst"
fragments = [{path="README.rst"}, {text="\n\n"}, {path="CHANGES.rst"}]
[tool.pytest.ini_options]
addopts = "--tb=native"
filterwarnings = [
"error",
]
[tool.towncrier]
directory = "docs/changelog/"
filename = "CHANGES.rst"
title_format = ""
# First underline is used for version/date header.
# Second underline is used for the type names (like 'Bug fixes:').
underlines = ["-", "+"]
[[tool.towncrier.type]]
directory = "change"
name = "Changes" # I'd love to omit the category, but that requires copy&paste of the whole template
showcontent = true