aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorDennis Fink2026-09-27 17:36:57 +0200
committerDennis Fink2026-09-27 17:36:57 +0200
commitc94b0f6c858a178845ab2190b9169b37d75bcb59 (patch)
tree965fbc9c43c11b0e39bc7dc646280428857e5c1d /pyproject.toml
parentc26564ff159e8c7db1d844f417b03eb354024966 (diff)
downloadprometheus-pacman-exporter-c94b0f6c858a178845ab2190b9169b37d75bcb59.tar.gz
prometheus-pacman-exporter-c94b0f6c858a178845ab2190b9169b37d75bcb59.zip
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.
Diffstat (limited to '')
-rw-r--r--pyproject.toml39
1 files changed, 30 insertions, 9 deletions
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"