Crate install_wheel_rs

Source
Expand description

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

Structs§

CompatibleTags
A platform, defined by the list of compatible wheel tags in order
LockedDir
A directory for which we acquired a install-wheel-rs.lock lockfile
Script
WheelFilename

Enums§

Arch
All supported CPU architectures
Error
InstallLocation
Multiplexing between venv install and monotrail install
Os
All supported operating system

Constants§

MONOTRAIL_SCRIPT_SHEBANG

Functions§

get_script_launcher
Wrapper script template function
install_wheel
Install the given wheel to the given venv
install_wheel_in_venv
High level API: Install a wheel in a virtualenv
normalize_name
I’m not sure that’s the right way to normalize here, but it’s a single place to change everything.
parse_key_value_file
Parse a file with Key: value entries such as WHEEL and METADATA
read_record_file
Reads the record file https://www.python.org/dev/peps/pep-0376/#record
relative_to
Give the path relative to the base directory