From fe73d4af5619ae335cff37a689d10738f94f8aae Mon Sep 17 00:00:00 2001 From: David Vujic Date: Fri, 27 Sep 2024 06:48:28 +0200 Subject: [PATCH] fix(projects): typo in how to setup uv --- docs/projects.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/projects.md b/docs/projects.md index 611bc4a..d622b35 100644 --- a/docs/projects.md +++ b/docs/projects.md @@ -155,15 +155,11 @@ dev-dependencies = ["polylith-cli"] ``` The default build backend for uv is Hatch. -Add the `hatch-polylith-bricks` build hook plugin to the `pyproject.toml` file. ``` toml [build-system] -requires = ["hatchling", "hatch-polylith-bricks"] +requires = ["hatchling"] build-backend = "hatchling.build" - -[tool.hatch.build.hooks.polylith-bricks] -# this section is needed to enable the hook in the build process, even if empty. ``` Make uv (and Hatch) aware of the way Polylith organizes source code: @@ -174,6 +170,7 @@ dev-mode-dirs = ["components", "bases", "development", "."] ### The project-specific pyproject.toml file(s) +Add the `hatch-polylith-bricks` build hook plugin to the `pyproject.toml` file. ``` toml [build-system] requires = ["hatchling", "hatch-polylith-bricks"]