How to install locally built package with uv

4 days ago 12
ARTICLE AD BOX

I am struggling a bit with uv mental model and compatibility with existing tool.

I have a project with a "setup.py", previously using python -m build to run the build. I couldn't find a way to install "build" globally though, using uv pip install --system build will try to literally use system's Python but won't install the package at user level outside of a virtual env (build already creates a venv).

Anway with uv a simple uv build seems to be sufficient. But then documentation only deals with publishing the package but here I am building a CLI.

How to install the built wheel or tar.gz files globally, on my own machine?

Read Entire Article