mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-02-03 18:49:28 -05:00
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[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-2.0-or-later" }
|
|
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",
|
|
"Programming Language :: Python :: 3",
|
|
"Topic :: Internet :: Name Service (DNS)",
|
|
"Topic :: System :: Systems Administration",
|
|
]
|
|
dependencies = [
|
|
"libknot<@KNOT_VERSION_MAJOR@.@KNOT_VERSION_MINOR@.99",
|
|
"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*",
|
|
]
|