cleanup pyproject

This commit is contained in:
2026-07-16 10:16:04 +03:00
parent 60850bfc10
commit 7a2d8299ad
3 changed files with 13 additions and 19 deletions
+4 -4
View File
@@ -47,7 +47,7 @@ stats = [
"matplotlib", "matplotlib",
] ]
unixsocket = [ unixsocket = [
"requests-unixsocket2", "requests-unixsocket2", # required by unix socket support
] ]
validator = [ validator = [
"cerberus", "cerberus",
@@ -61,9 +61,6 @@ Documentation = "https://ahriman.readthedocs.io/"
Repository = "https://github.com/arcan1s/ahriman" Repository = "https://github.com/arcan1s/ahriman"
Changelog = "https://github.com/arcan1s/ahriman/releases" Changelog = "https://github.com/arcan1s/ahriman/releases"
[tool.hatch.version]
path = "src/ahriman/__init__.py"
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = [ packages = [
"src/ahriman", "src/ahriman",
@@ -72,3 +69,6 @@ packages = [
[tool.hatch.build.targets.wheel.shared-data] [tool.hatch.build.targets.wheel.shared-data]
"package/lib" = "lib" "package/lib" = "lib"
"package/share" = "share" "package/share" = "share"
[tool.hatch.version]
path = "src/ahriman/__init__.py"
+4 -7
View File
@@ -25,16 +25,13 @@ Documentation = "https://ahriman.readthedocs.io/"
Repository = "https://github.com/arcan1s/ahriman" Repository = "https://github.com/arcan1s/ahriman"
Changelog = "https://github.com/arcan1s/ahriman/releases" Changelog = "https://github.com/arcan1s/ahriman/releases"
[tool.hatch.version]
path = "../ahriman-core/src/ahriman/__init__.py"
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
only-include = [ packages = [
"src/ahriman", "src/ahriman",
] ]
sources = [
"src",
]
[tool.hatch.build.targets.wheel.shared-data] [tool.hatch.build.targets.wheel.shared-data]
"package/share" = "share" "package/share" = "share"
[tool.hatch.version]
path = "../ahriman-core/src/ahriman/__init__.py"
+5 -8
View File
@@ -32,7 +32,7 @@ auth = [
] ]
docs = [ docs = [
"aiohttp-apispec", "aiohttp-apispec",
"setuptools", "setuptools", # required by aiohttp-apispec
] ]
metrics = [ metrics = [
"aiohttp-openmetrics", "aiohttp-openmetrics",
@@ -47,17 +47,14 @@ Documentation = "https://ahriman.readthedocs.io/"
Repository = "https://github.com/arcan1s/ahriman" Repository = "https://github.com/arcan1s/ahriman"
Changelog = "https://github.com/arcan1s/ahriman/releases" Changelog = "https://github.com/arcan1s/ahriman/releases"
[tool.hatch.version]
path = "../ahriman-core/src/ahriman/__init__.py"
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
only-include = [ packages = [
"src/ahriman", "src/ahriman",
] ]
sources = [
"src",
]
[tool.hatch.build.targets.wheel.shared-data] [tool.hatch.build.targets.wheel.shared-data]
"package/lib" = "lib" "package/lib" = "lib"
"package/share" = "share" "package/share" = "share"
[tool.hatch.version]
path = "../ahriman-core/src/ahriman/__init__.py"