mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00

This PR copies over the `install-wheel-rs` crate at commit `10730ea1a84c58af6b35fb74c89ed0578ab042b6` with no modifications. It won't pass CI, but modifications will intentionally be confined to later PRs.
12 lines
No EOL
397 B
Bash
12 lines
No EOL
397 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# cd to project root
|
|
cd "$(git rev-parse --show-toplevel)"
|
|
rm -f target-maturin/wheels/install_wheel_rs-*.whl
|
|
CARGO_TARGET_DIR=target-maturin maturin build --release --strip --no-sdist -m install-wheel-rs/Cargo.toml
|
|
.venv/bin/pip uninstall -y install-wheel-rs
|
|
.venv/bin/pip install target-maturin/wheels/install_wheel_rs-*.whl
|
|
.venv/bin/pytest install-wheel-rs/test
|
|
cargo test |