#wheel #venv #install #path #python #location #monotrail

install-wheel-rs

Takes a wheel and installs it, either in a venv or for monotrail

1 unstable release

0.0.1 Sep 24, 2023

#7 in #venv


Used in 2 crates

MIT/Apache

755KB
2.5K SLoC

Contains (DOS exe, 295KB) windows-launcher/t64-arm.exe, (DOS exe, 175KB) windows-launcher/t32.exe, (DOS exe, 180KB) windows-launcher/t64.exe, (Python package, 6KB) upsidedown-0.4-py2.py3-none-any.whl

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.


lib.rs:

Takes a wheel and installs it, either in a venv or for monotrail

Dependencies

~16–29MB
~486K SLoC