pyproject: allow-direct-references so the git openrouter_wrapper dep builds

Hatchling rejects a direct git reference in an optional-dependency unless this
flag is set; without it uv could not build tiny-mfv and every 'uv run' failed.

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
This commit is contained in:
wassname
2026-07-05 08:25:28 +08:00
co-authored by Claudypoo
parent 52ebea72aa
commit 520cbc04a4
+3
View File
@@ -39,5 +39,8 @@ dev = [
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true # the api extra pulls openrouter_wrapper straight from git
[tool.hatch.build.targets.wheel]
packages = ["src/tinymfv"]