Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show how to use via uv without pipx #850

Open
Julian opened this issue Jan 7, 2025 · 1 comment
Open

Show how to use via uv without pipx #850

Julian opened this issue Jan 7, 2025 · 1 comment

Comments

@Julian
Copy link
Contributor

Julian commented Jan 7, 2025

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

?

@layday
Copy link
Member

layday commented Jan 9, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants