Options (3)
-o, --out-dirbooleanBuild and output to a specific directory
Example:
uv build {{[-o|--out-dir]}} {{path/to/output}}--allbooleanBuild all packages in the workspace
Example:
uv build {{[--all|--all-packages]}}-p, --pythonbooleanBuild with a specific Python interpreter
Example:
uv build {{[-p|--python]}} {{python3.11}}Examples (8)
Build a package in the current directory
Build a package from a specific directory
uv build path/to/directoryBuild only a wheel (skip source distribution)
uv build --wheelBuild only a source distribution (skip wheel)
uv build --sdistBuild and output to a specific directory
uv build [-o|--out-dir] path/to/outputBuild a specific package in a workspace
uv build --package package_nameBuild all packages in the workspace
uv build [--all|--all-packages]Build with a specific Python interpreter
uv build [-p|--python] python3.11made by @shridhargupta | data from tldr-pages