Skip to content

Commit 86d1e7c

Browse files
authored
Document how to configure uv_build for non-src directory projects (#297)
1 parent f8856c0 commit 86d1e7c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ licenses = [
7171
requires = ["uv_build>=0.8.0,<0.9.0"]
7272
build-backend = "uv_build"
7373

74+
# For non-src directory projects, explicitly set top level model name:
75+
#[tool.uv.build-backend]
76+
#module-name = "my-app"
77+
#module-root = ""
78+
7479
[tool.uv]
7580
default-groups = "all"
7681
# Non-package applications can uncomment the following line and delete [build-system] section to

0 commit comments

Comments
 (0)