uv/scripts/packages/built-by-uv
konsti bf4c7afe8b
A minimal build backend for uv: uv_build (#11446)
uv itself is a large package with many dependencies and lots of
features. To build a package using the uv build backend, you shouldn't
have to download and install the entirety of uv. For platform where we
don't provide wheels, it should be possible and fast to compile the uv
build backend. To that end, we're introducing a python package that
contains a trimmed down version of uv that only contains the build
backend, with a minimal dependency tree in rust.

The `uv_build` package is publish from CI just like uv itself. It is
part of the workspace, but has much less dependencies for its own
binary. We're using cargo deny to enforce that the network stack is not
part of the dependencies. A new build profile ensure we're getting the
minimum possible binary size for a rust binary.

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
2025-03-06 13:27:20 -06:00
..
assets Build backend: Support data files (#9197) 2024-11-19 12:59:59 +01:00
data-dir Build backend: Revamp include/exclude (#9525) 2024-12-01 11:32:35 +00:00
header Build backend: Support data files (#9197) 2024-11-19 12:59:59 +01:00
scripts Build backend: Support data files (#9197) 2024-11-19 12:59:59 +01:00
src/built_by_uv Build backend: Add integration test for scripts (#9635) 2024-12-04 10:57:08 +00:00
tests Build backend: Add source tree -> source dist -> wheel tests (#9091) 2024-11-14 19:15:32 +00:00
third-party-licenses Build backend: Include readme and license files (#9149) 2024-11-15 14:41:39 +00:00
.gitignore Build backend: Add source tree -> source dist -> wheel tests (#9091) 2024-11-14 19:15:32 +00:00
.python-version Require tests to opt-in to managed Python installation (#10912) 2025-01-23 15:24:40 -06:00
LICENSE-APACHE Build backend: Include readme and license files (#9149) 2024-11-15 14:41:39 +00:00
LICENSE-MIT Build backend: Include readme and license files (#9149) 2024-11-15 14:41:39 +00:00
pyproject.toml A minimal build backend for uv: uv_build (#11446) 2025-03-06 13:27:20 -06:00
README.md Build backend: Add source tree -> source dist -> wheel tests (#9091) 2024-11-14 19:15:32 +00:00
test.sh Build backend: Add source tree -> source dist -> wheel tests (#9091) 2024-11-14 19:15:32 +00:00
uv.lock Build backend: Add source tree -> source dist -> wheel tests (#9091) 2024-11-14 19:15:32 +00:00

built_by_uv

A package to be built with the uv build backend that uses all features exposed by the build backend.