summaryrefslogtreecommitdiffstats
path: root/python/knot_exporter/pyproject.toml.in
blob: 6846eb5421a127af0573a8132f4662d54a6fba89 (plain)
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "knot_exporter"
version = "@PACKAGE_VERSION@"
description = "Prometheus exporter for Knot DNS"
readme = "README.md"
requires-python = ">=3.5"
license = { text = "GPL-3.0" }
authors = [
    { name = "CZ.NIC, z.s.p.o.", email = "knot-dns@labs.nic.cz" },
    { name = "Alessandro Ghedini", email = "alessandro@ghedini.me" },
]
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Intended Audience :: System Administrators",
    "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
    "Programming Language :: Python :: 3",
    "Topic :: Internet :: Name Service (DNS)",
    "Topic :: System :: Systems Administration",
]
dependencies = [
    "libknot",
    "prometheus-client",
    "psutil",
]

[project.urls]
Documentation = "https://www.knot-dns.cz/documentation"
Issues = "https://gitlab.nic.cz/knot/knot-dns/-/issues"
Source = "https://gitlab.nic.cz/knot/knot-dns/-/tree/master/python/knot_exporter"

[project.scripts]
knot-exporter = "knot_exporter.knot_exporter:main"

[tool.hatch.build]
# don't filter by .gitignore
ignore-vcs = true
exclude = [
    ".*",
    "*.in",
    "Makefile*",
]