LinuxCommandLibrary

uv-build

Build Python packages from source

TLDR

Build package

$ uv build
copy
Build wheel only
$ uv build --wheel
copy
Build sdist only
$ uv build --sdist
copy
Build to specific directory
$ uv build --out-dir [dist]
copy

SYNOPSIS

uv build [options]

DESCRIPTION

uv build builds Python packages from source. Creates wheel and/or source distribution packages. Supports PEP 517/518 build systems.

PARAMETERS

--wheel

Build wheel only.
--sdist
Build source distribution only.
--out-dir dir
Output directory.
--no-build-isolation
Disable build isolation.

SEE ALSO

uv(1), uv-publish(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard