Skip to content

Commit

Permalink
setup(uv): make sure the build backend is set to Hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidVujic committed Oct 28, 2024
1 parent 3e46893 commit 709b92d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,14 @@ __Choose the name wisely.__ Have a look in [PEP-423](https://peps.python.org/pep
`--theme` the structure of the workspace, `loose` is the recommended structure for Python.

#### Edit the configuration
The default build backend for uv is Hatch.
Make sure that the build backend for uv is set to Hatch.

``` toml
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
```

Make uv (and Hatch) aware of the way Polylith organizes source code:
``` toml
[tool.hatch.build]
Expand Down

0 comments on commit 709b92d

Please sign in to comment.