mirror of
https://github.com/wassname/moral-maps.git
synced 2026-09-11 12:20:38 +08:00
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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user