summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorDennis Fink2026-05-06 19:51:45 +0200
committerDennis Fink2026-05-06 19:51:45 +0200
commit5a2d4ca818e6ee45f99e4c92310e137a7b1b4aea (patch)
tree9f1338915f0755c71f5c65573019939dbef0c24a /pyproject.toml
parentd9e410a10b2c175fc32437b35c59eccf5172b051 (diff)
downloadprometheus-borgmatic-exporter-1.0.0.tar.gz
prometheus-borgmatic-exporter-1.0.0.zip
feat: implement initial borgmatic Prometheus exporterv1.0.0
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml64
1 files changed, 64 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..2108223
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,64 @@
+[project]
+name = "prometheus-borgmatic-exporter"
+dynamic = ["version"]
+description = "Collect borgmatic repository metrics and export them for Prometheus."
+license = "BSD-3-Clause"
+license-files = ["LICENSES/BSD-3-Clause.txt"]
+authors = [
+ {name = "Dennis Fink", email = "me+coding@dennisfink.me"},
+]
+readme = "README.md"
+requires-python = ">=3.11"
+dependencies = [
+ "click-extra>=7.14.1",
+ "prometheus-client>=0.25.0",
+]
+classifiers = [
+ "Development Status :: 5 - Production/Stable",
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
+ "Environment :: Console",
+ "Intended Audience :: System Administrators",
+ "Topic :: System :: Archiving :: Backup",
+ "Topic :: System :: Monitoring",
+]
+keywords = ["prometheus", "borgmatic", "borg", "backup", "monitoring", "exporter"]
+
+[project.scripts]
+prometheus-borgmatic-exporter = "prometheus_borgmatic_exporter:prometheus_borgmatic_exporter"
+
+[dependency-groups]
+dev = [
+ "pyright>=1.1.409",
+ "ruff>=0.15.12",
+]
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.hatch.version]
+path = "prometheus_borgmatic_exporter/__init__.py"
+
+[tool.hatch.build.targets.wheel]
+packages = ["prometheus_borgmatic_exporter"]
+
+[tool.hatch.build.targets.sdist]
+include = [
+ "prometheus_borgmatic_exporter/",
+ "contrib/prometheus-borgmatic-exporter.confd",
+ "contrib/prometheus-borgmatic-exporter.service",
+ "contrib/prometheus-borgmatic-exporter.timer",
+ "LICENSES/",
+ "README.md",
+ "pyproject.toml"
+]
+
+[tool.ruff]
+target-version = "py311"
+
+[tool.pyright]
+pythonVersion = "3.11"
+typeCheckingMode = "strict"