# SPDX-FileCopyrightText: 2026 Dennis Fink # # SPDX-License-Identifier: BSD-3-Clause [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.12" dependencies = [ "click-extra>=9.1.0", "prometheus-client>=0.26.0", ] classifiers = [ "Development Status :: 5 - Production/Stable", "Programming Language :: Python", "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.urls] Repository = "https://git.dennisfink.me/prometheus-borgmatic-exporter/" [project.scripts] prometheus-borgmatic-exporter = "prometheus_borgmatic_exporter:prometheus_borgmatic_exporter" [dependency-groups] dev = [ "pyright>=1.1.411", "ruff>=0.16.6", ] [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.format] skip-magic-trailing-comma = true