From c94b0f6c858a178845ab2190b9169b37d75bcb59 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 27 Sep 2026 17:36:57 +0200 Subject: build(packaging): expand project metadata Add package keywords, classifiers, import metadata, and Pyright settings to better describe the supported platform and intended audience. Declare cloup as a direct dependency, require a recent Hatchling version, and refresh the lockfile with cloup 4.0.0. --- pyproject.toml | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 508115a..d72c54a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,28 +6,45 @@ 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"}, ] -readme = "README.md" -requires-python = ">=3.12" -dependencies = [ - "click-extra>=9.1.0", - "prometheus-client>=0.26.0", + +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", - "Environment :: Console", - "Intended Audience :: System Administrators", "Topic :: System :: Monitoring", + "Topic :: System :: Systems Administration", +] + +dependencies = [ + "click-extra>=9.1.0", + "cloup>=3.1.0", + "prometheus-client>=0.26.0", ] -keywords = ["prometheus", "monitoring", "exporter"] + +import-names = ["prometheus_pacman_exporter"] [project.urls] Repository = "https://git.dennisfink.me/prometheus-pacman-exporter/" @@ -42,7 +59,7 @@ dev = [ ] [build-system] -requires = ["hatchling"] +requires = ["hatchling>=1.30.0"] build-backend = "hatchling.build" [tool.hatch.version] @@ -64,3 +81,7 @@ include = [ [tool.ruff.format] skip-magic-trailing-comma = true + +[tool.pyright] +pythonVersion = "3.12" +pythonPlatform = "Linux" -- cgit v1.3.1