[project]
name = "taninux"
version = "0.2.0"
description = "TANINUX — central Linux maintenance & management TUI for Arch. Pillars: maintain, update, kernel, suggest, health."
requires-python = ">=3.11"
dependencies = [
    "textual>=0.86",
]

[project.optional-dependencies]
# GTK-Frontend. PyGObject + libadwaita kommen am besten als System-Pakete
# (pacman -S python-gobject libadwaita gtk4) — der pip-Build von PyGObject
# braucht sonst die GTK-Dev-Header. Daher hier bewusst KEIN harter Pin.
gui = [
    "pygobject>=3.50; sys_platform == 'linux'",
]

[project.scripts]
taninux = "taninux.cli:main"
taninux-gtk = "taninux.gui.app:main"
tsettings = "taninux.gui.app:main_settings"
thub = "taninux.gui.app:main_hub"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["src/taninux"]
