Skip to content

Commit e163e3f

Browse files
authored
Merge pull request #12 from DavidVujic/fix-uv-workspace-project-setup-typo
fix(projects): typo in how to setup uv
2 parents b100aba + fe73d4a commit e163e3f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Diff for: docs/projects.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -155,15 +155,11 @@ dev-dependencies = ["polylith-cli"]
155155
```
156156

157157
The default build backend for uv is Hatch.
158-
Add the `hatch-polylith-bricks` build hook plugin to the `pyproject.toml` file.
159158

160159
``` toml
161160
[build-system]
162-
requires = ["hatchling", "hatch-polylith-bricks"]
161+
requires = ["hatchling"]
163162
build-backend = "hatchling.build"
164-
165-
[tool.hatch.build.hooks.polylith-bricks]
166-
# this section is needed to enable the hook in the build process, even if empty.
167163
```
168164

169165
Make uv (and Hatch) aware of the way Polylith organizes source code:
@@ -174,6 +170,7 @@ dev-mode-dirs = ["components", "bases", "development", "."]
174170

175171

176172
### The project-specific pyproject.toml file(s)
173+
Add the `hatch-polylith-bricks` build hook plugin to the `pyproject.toml` file.
177174
``` toml
178175
[build-system]
179176
requires = ["hatchling", "hatch-polylith-bricks"]

0 commit comments

Comments
 (0)