Files
turn-up-arch/pyproject.toml
T
Sean Doran 8f8d9ac3fa feat: add React/Vite PWA web UI with FastAPI backend
- FastAPI + uvicorn server (turnup-ui) serving config API and static files
- React + TypeScript frontend: connection, global LEDs, per-knob/button
  cards, preset save/load/apply, toast notifications, dark theme
- Vite builds into src/turnup/ui/static/ so no Node.js needed at install time
- PWA assets (manifest, service worker, icon) in ui/public/
- turnup-ui.service systemd user unit; enabled globally via turnupd.install
- PKGBUILD: add python-fastapi + python-uvicorn deps, install UI service file
- pyproject.toml: ui extras group, turnup-ui entry point
2026-02-27 21:25:16 -05:00

45 lines
999 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "turnup"
version = "1.4.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.optional-dependencies]
dev = ["pytest>=8.0"]
ui = ["fastapi>=0.110", "uvicorn>=0.29"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[project.scripts]
turnupd = "turnup.turnupd:main"
turnup-ui = "turnup.ui.server: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",
]