From 7a2d8299ad4bee1a9ea6e2174d5ea4c0c7d85120 Mon Sep 17 00:00:00 2001 From: Evgenii Alekseev Date: Thu, 16 Jul 2026 10:16:04 +0300 Subject: [PATCH] cleanup pyproject --- ahriman-core/pyproject.toml | 8 ++++---- ahriman-triggers/pyproject.toml | 11 ++++------- ahriman-web/pyproject.toml | 13 +++++-------- 3 files changed, 13 insertions(+), 19 deletions(-) diff --git a/ahriman-core/pyproject.toml b/ahriman-core/pyproject.toml index 84b2d937..baeb49b7 100644 --- a/ahriman-core/pyproject.toml +++ b/ahriman-core/pyproject.toml @@ -47,7 +47,7 @@ stats = [ "matplotlib", ] unixsocket = [ - "requests-unixsocket2", + "requests-unixsocket2", # required by unix socket support ] validator = [ "cerberus", @@ -61,9 +61,6 @@ Documentation = "https://ahriman.readthedocs.io/" Repository = "https://github.com/arcan1s/ahriman" Changelog = "https://github.com/arcan1s/ahriman/releases" -[tool.hatch.version] -path = "src/ahriman/__init__.py" - [tool.hatch.build.targets.wheel] packages = [ "src/ahriman", @@ -72,3 +69,6 @@ packages = [ [tool.hatch.build.targets.wheel.shared-data] "package/lib" = "lib" "package/share" = "share" + +[tool.hatch.version] +path = "src/ahriman/__init__.py" diff --git a/ahriman-triggers/pyproject.toml b/ahriman-triggers/pyproject.toml index 44aa09a9..aa3a86c8 100644 --- a/ahriman-triggers/pyproject.toml +++ b/ahriman-triggers/pyproject.toml @@ -25,16 +25,13 @@ Documentation = "https://ahriman.readthedocs.io/" Repository = "https://github.com/arcan1s/ahriman" Changelog = "https://github.com/arcan1s/ahriman/releases" -[tool.hatch.version] -path = "../ahriman-core/src/ahriman/__init__.py" - [tool.hatch.build.targets.wheel] -only-include = [ +packages = [ "src/ahriman", ] -sources = [ - "src", -] [tool.hatch.build.targets.wheel.shared-data] "package/share" = "share" + +[tool.hatch.version] +path = "../ahriman-core/src/ahriman/__init__.py" diff --git a/ahriman-web/pyproject.toml b/ahriman-web/pyproject.toml index 63c794e0..7778ce55 100644 --- a/ahriman-web/pyproject.toml +++ b/ahriman-web/pyproject.toml @@ -32,7 +32,7 @@ auth = [ ] docs = [ "aiohttp-apispec", - "setuptools", + "setuptools", # required by aiohttp-apispec ] metrics = [ "aiohttp-openmetrics", @@ -47,17 +47,14 @@ Documentation = "https://ahriman.readthedocs.io/" Repository = "https://github.com/arcan1s/ahriman" Changelog = "https://github.com/arcan1s/ahriman/releases" -[tool.hatch.version] -path = "../ahriman-core/src/ahriman/__init__.py" - [tool.hatch.build.targets.wheel] -only-include = [ +packages = [ "src/ahriman", ] -sources = [ - "src", -] [tool.hatch.build.targets.wheel.shared-data] "package/lib" = "lib" "package/share" = "share" + +[tool.hatch.version] +path = "../ahriman-core/src/ahriman/__init__.py"