# SPDX-FileCopyrightText: 2026 Dennis Fink # # SPDX-License-Identifier: BSD-3-Clause [project] name = "prometheus-pacman-exporter" dynamic = ["version"] description = "Collect pacman package metrics and export them for Prometheus." readme = "README.md" requires-python = ">=3.12" license = "BSD-3-Clause" license-files = ["LICENSES/BSD-3-Clause.txt"] authors = [ {name = "Dennis Fink", email = "me+coding@dennisfink.me"}, ] keywords = [ "prometheus", "node-exporter", "pacman", "arch-linux", "monitoring", "exporter", ] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: System Administrators", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Topic :: System :: Monitoring", "Topic :: System :: Systems Administration", ] dependencies = [ "click-extra>=9.1.0", "cloup>=3.1.0", "prometheus-client>=0.26.0", ] import-names = ["prometheus_pacman_exporter"] [project.urls] Repository = "https://git.dennisfink.me/prometheus-pacman-exporter/" [project.scripts] prometheus-pacman-exporter = "prometheus_pacman_exporter:prometheus_pacman_exporter" [dependency-groups] dev = [ "pyright>=1.1.411", "ruff>=0.16.6", ] [build-system] requires = ["hatchling>=1.30.0"] build-backend = "hatchling.build" [tool.hatch.version] path = "prometheus_pacman_exporter/__init__.py" [tool.hatch.build.targets.wheel] packages = ["prometheus_pacman_exporter"] [tool.hatch.build.targets.sdist] include = [ "prometheus_pacman_exporter/", "contrib/prometheus-pacman-exporter.confd", "contrib/prometheus-pacman-exporter.service", "contrib/prometheus-pacman-exporter.timer", "LICENSES/", "README.md", "pyproject.toml" ] [tool.ruff.format] skip-magic-trailing-comma = true [tool.pyright] pythonVersion = "3.12" pythonPlatform = "Linux"