mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-17 22:07:47 +00:00
![]() ## Summary Closes https://github.com/astral-sh/uv/issues/5359. ## Test Plan Unfortunately, the only packages I know of that use this are Ruff and uv, and both are too heavy to install in a recurring test, so: `uv tool install hatch==1.12.0 --with uv==0.2.27 --force --link-mode=symlink` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
Readme.md |
Reimplementation of wheel installing in rust. Supports both classical venvs and monotrail.
There are simple python bindings:
from install_wheel_rs import LockedVenv
locked_venv = LockedVenv("path/to/.venv")
locked_venv.install_wheel("path/to/some_tagged_wheel.whl")
and there's only one function: install_wheels_venv(wheels: List[str], venv: str)
, where wheels
is a list of paths to wheel files and venv
is the location of the venv to install the packages in.
See monotrail for benchmarks.