Files
h2g2/pyproject.toml
T
seppedl 049d4f2a18 Add text-to-speech via Piper with --audio flag and replay verb
Enable TTS with `h2g2 --audio` to hear game text spoken aloud using
the Piper en_GB-alan-medium voice. Audio plays in a background thread
while text displays normally. The new `replay` in-game verb replays
the last spoken audio. Voice model path is configurable via --voice.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 17:19:49 +02:00

20 lines
378 B
TOML

[project]
name = "h2g2"
version = "0.1.0"
description = "The Hitchhiker's Guide to the Galaxy - Python text adventure engine"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"piper-tts>=1.2.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = ["pytest>=8.0"]
[project.scripts]
h2g2 = "h2g2.main:main"