Split plugins to seperate packages

This commit is contained in:
Kivi Kaitaniemi
2025-12-27 03:58:42 +02:00
parent 77bd72575e
commit f05f502fa7
23 changed files with 223 additions and 90 deletions
+21 -10
View File
@@ -7,20 +7,15 @@ authors = [
{name = "Kivi Kaitaniemi"}
]
requires-python = ">=3.13"
dependencies = [
"requests",
"pyalpm",
]
[project.optional-dependencies]
pacman = ["decman-pacman"]
systemd = ["decman-systemd"]
flatpak = ["decman-flatpak"]
[project.scripts]
decman = "decman.app:main"
[project.entry-points."decman.plugins"]
systemd = "decman.plugins.systemd:Systemd"
pacman = "decman.plugins.pacman:Pacman"
aur = "decman.plugins.aur:AUR"
flatpak = "decman.plugins.flatpak:Flatpak"
[dependency-groups]
dev = [
"ruff>=0.14.9",
@@ -31,6 +26,22 @@ dev = [
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.uv.workspace]
members = [
"packages/decman-pacman",
"packages/decman-systemd",
"packages/decman-flatpak",
]
[tool.uv.sources]
decman = { workspace = true }
decman-pacman = { workspace = true }
decman-systemd = { workspace = true }
decman-flatpak = { workspace = true }
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py313"