Skip to content

Commit fa792b7

Browse files
authored
Add build-system to fix entry point installation (#3)
Without a [build-system] table, uv treats the project as unpackaged and skips installing the patchwork CLI entry point. Add hatchling as the build backend so uv sync installs the command correctly.
1 parent 4299c24 commit fa792b7

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ dependencies = [
1212
"pyyaml",
1313
]
1414

15+
[build-system]
16+
requires = ["hatchling"]
17+
build-backend = "hatchling.build"
18+
1519
[project.scripts]
1620
patchwork = "patchwork.cli:main_cli"
1721

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)