nixpkgs/pkgs/by-name/vo/voicevox-engine/make-installable.patch
2025-07-03 15:54:10 +02:00

27 lines
465 B
Diff

diff --git a/pyproject.toml b/pyproject.toml
index 42a636b..209893f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -23,6 +23,21 @@ dependencies = [
"uvicorn>=0.34.0",
]
+[project.scripts]
+voicevox-engine = "run:main"
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.hatch.build]
+only-include = [
+ "voicevox_engine",
+ "resources",
+ "run.py",
+ "engine_manifest.json",
+]
+
[tool.uv]
default-groups = []