build icon indicating copy to clipboard operation
build copied to clipboard

Show how to use via `uv` without `pipx`

Open Julian opened this issue 11 months ago • 1 comments

The README already shows how to use build with uv, but does so assuming someone's also using pipx.

Given that uv has functionality which overlaps with pipx, is it perhaps worth changing this section to assume someone is using uv's own functionality for installing build? (Doing so is not as simple as replacing pipx with uvx in the command, as build reiles on entry-points to tell pipx to invoke it via -m).

Specifically, is it worth changing that section to say:

uv run --with 'build[uv]' -m build --installer=uv

?

Julian avatar Jan 07 '25 16:01 Julian

I don't think the pipx invocation should be changed to uv's, but examples can be provided for both. If you're running build via uv, you don't need the uv extra, and the uvx invocation can be simplified to:

uvx --from build pyproject-build --installer uv

layday avatar Jan 09 '25 23:01 layday

Completed in #917, closing.

layday avatar Oct 24 '25 17:10 layday