- Switch config format from JSON to TOML (tomllib built-in on 3.11+, tomli fallback for 3.10) so the generated config can include comments - Write an annotated config.toml on first run with descriptions for every knob/button and hints for all available actions - Promote playerctl from optdepends to depends so media buttons work out of the box - Default buttons 1–3 now pre-configured for playerctl previous/play-pause/next - Rename contrib/config.example.json → config.example.toml with full TOML rewrite including per-knob LED colour override examples - Log a migration hint when a legacy config.json is detected
37 lines
813 B
TOML
37 lines
813 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "turnup"
|
|
version = "1.1.0"
|
|
description = "USB serial knob/button mixer daemon for PipeWire/PulseAudio on Linux"
|
|
readme = "README.md"
|
|
license = { text = "MIT" }
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"pyserial>=3.5",
|
|
"pulsectl>=22.0",
|
|
"tomli>=1.1; python_version < '3.11'",
|
|
]
|
|
|
|
[project.scripts]
|
|
turnupd = "turnup.turnupd:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/sean351/turn-up-arch"
|
|
Repository = "https://github.com/sean351/turn-up-arch"
|
|
Issues = "https://github.com/sean351/turn-up-arch/issues"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/turnup"]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = [
|
|
"src/",
|
|
"contrib/",
|
|
"README.md",
|
|
"LICENSE",
|
|
"pyproject.toml",
|
|
]
|