uv/crates/uv-build-backend
konstin 28a97b5588 Multiple modules in namespace packages
Support multiple root modules in namespace packages by enumerating them:

```toml
[tool.uv.build-backend]
module-name = ["foo", "bar"]
```

This allows applications with multiple root packages without migrating to workspaces. Since those are regular module names (we iterate over them an process each one like a single module names), it allows combining dotted (namespace) names and regular names. It also technically allows combining regular and stub modules, even though this is even less recommends.

We don't recommend this structure (please use a workspace instead, or structure everything in one root module), but it reduces the number of cases that need `namespace = true`.

Fixes #14435
Fixes #14438
2025-07-07 12:15:38 +02:00
..
src Multiple modules in namespace packages 2025-07-07 12:15:38 +02:00
Cargo.toml Multiple modules in namespace packages 2025-07-07 12:15:38 +02:00