New features: - P1 green phosphor radar scope widget on Track screen with LUT-optimized rendering - Splash screen with pre-baked ANSI half-block art from 16colo.rs/Mistigris - Star Wars ASCII animation via telnet (ctrl+w) with IPv6 happy eyeballs and offline fallback - Dark Side / New Hope toast notifications on theme toggle - Kitty terminal detection with cat emoji on splash Robustness (from Apollo code review): - Circuit breaker in track loop after 10 consecutive errors - Input validation for frequency, symbol rate, step size across scan/spectrum/track - Consolidated sys.path manipulation into __init__.py - Radar scope pre-computes dist/angle LUT per pixel on resize Cleanup: - Removed unused imports across lband, monitor, scan, signal_gauge - Moved Pillow/textual-image to optional dev deps (splash uses pre-baked ANSI) - Added 41-test pytest suite covering telnet IAC parsing, radar geometry, splash assets
39 lines
802 B
TOML
39 lines
802 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "skywalker-tui"
|
|
version = "0.1.0"
|
|
description = "Textual TUI for Genpix SkyWalker-1 DVB-S receiver"
|
|
requires-python = ">=3.11"
|
|
authors = [{name = "Ryan Malloy", email = "ryan@supported.systems"}]
|
|
dependencies = [
|
|
"textual>=3.0",
|
|
"pyusb>=1.3",
|
|
]
|
|
|
|
[project.scripts]
|
|
skywalker-tui = "skywalker_tui.app:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/skywalker_tui"]
|
|
artifacts = ["src/skywalker_tui/assets/**"]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"Pillow>=10.0",
|
|
]
|
|
test = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.24",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.ruff]
|
|
target-version = "py311"
|
|
line-length = 100
|