uv provides a native build backend (uv_build) for Python projects that transforms source trees into distributions. It offers zero-configuration defaults for most projects, tight integration with uv for improved performance, and supports various project structures including namespace packages and stub packages. The backend currently supports only pure Python code and includes flexible file inclusion/exclusion patterns. Configuration is done through pyproject.toml, and it follows the same versioning policy as uv itself.
Table of contents
Choosing a build backendUsing the uv build backendBundled build backendModulesNamespace packagesStub packagesFile inclusion and exclusion1 Comment
Sort: