Skip to content

Commit 709b92d

Browse files
committed
setup(uv): make sure the build backend is set to Hatch
1 parent 3e46893 commit 709b92d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: docs/setup.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,14 @@ __Choose the name wisely.__ Have a look in [PEP-423](https://peps.python.org/pep
193193
`--theme` the structure of the workspace, `loose` is the recommended structure for Python.
194194

195195
#### Edit the configuration
196-
The default build backend for uv is Hatch.
196+
Make sure that the build backend for uv is set to Hatch.
197+
198+
``` toml
199+
[build-system]
200+
requires = ["hatchling"]
201+
build-backend = "hatchling.build"
202+
```
203+
197204
Make uv (and Hatch) aware of the way Polylith organizes source code:
198205
``` toml
199206
[tool.hatch.build]

0 commit comments

Comments
 (0)