feat: extract vnpipe pipeline from faust-vn

Generic "classic novels to visual novels" pipeline extracted from faust-vn
(source commit 6486ab1). The work-specific data (Faust text, annotations,
assets, generated project) stays in faust-vn.

Changes versus the source: --work defaults to the current directory, the
renpy command writes to <work root>/vn, the Ren'Py SDK is located through
RENPY_SDK, and tests only use fixtures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-19 03:59:33 +02:00
commit ff78dc5b14
68 files changed
+7727

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
[project]
name = "vnpipe"
version = "0.1.0"
description = "Public-domain play text -> annotated JSON -> Ren'Py visual novel pipeline"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
dependencies = [
"jsonschema>=4.23",
"pillow>=11.0",
]
[project.scripts]
vnpipe = "vnpipe.cli:main"
[dependency-groups]
dev = [
"pytest>=8.3",
"ruff>=0.8",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/vnpipe"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "SIM"]
[tool.pytest.ini_options]
testpaths = ["tests"]