From 13f0602c05f6f808a5aea9a5d9f316ff9dd8c9a3 Mon Sep 17 00:00:00 2001 From: brmmm3 Date: Fri, 11 Feb 2022 00:22:54 +0100 Subject: [PATCH] Update build_wheels.sh --- build_wheels.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/build_wheels.sh b/build_wheels.sh index 03359e6..3d838e6 100644 --- a/build_wheels.sh +++ b/build_wheels.sh @@ -3,33 +3,38 @@ eval "$(pyenv init -)" version=`grep -Po '\bversion\s*=\s*"\K.*?(?=")' Cargo.toml | head -1` pyenv shell 3.6.15 +pip install --upgrade pip pip install -U pytest maturin build --release --strip -i python3.6 -pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-$version-cp36-cp36m-manylinux1_x86_64.whl +pip install -U build/temp.linux-x86_64/scandir-rs/wheels/scandir_rs-$version-cp36-cp36m-manylinux1_x86_64.whl python3.6 -m pytest pyenv shell 3.7.12 +pip install --upgrade pip pip install -U pytest maturin build --release --strip -i python3.7 -pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-$version-cp37-cp37m-manylinux1_x86_64.whl +pip install -U build/temp.linux-x86_64/scandir-rs/wheels/scandir_rs-$version-cp37-cp37m-manylinux1_x86_64.whl python3.7 -m pytest pyenv shell 3.8.12 +pip install --upgrade pip pip install -U pytest maturin build --release --strip -i python3.8 -pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-$version-cp38-cp38-manylinux1_x86_64.whl +pip install -U build/temp.linux-x86_64/scandir-rs/wheels/scandir_rs-$version-cp38-cp38-manylinux1_x86_64.whl python3.8 -m pytest pyenv shell 3.9.10 +pip install --upgrade pip pip install -U pytest maturin build --release --strip -i python3.9 -pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-$version-cp39-cp39-manylinux1_x86_64.whl +pip install -U build/temp.linux-x86_64/scandir-rs/wheels/scandir_rs-$version-cp39-cp39-manylinux1_x86_64.whl python3.9 -m pytest pyenv shell 3.10.2 +pip install --upgrade pip pip install -U pytest maturin build --release --strip -i python3.10 -pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-$version-cp310-cp310-manylinux1_x86_64.whl +pip install -U build/temp.linux-x86_64/scandir-rs/wheels/scandir_rs-$version-cp310-cp310-manylinux1_x86_64.whl python3.10 -m pytest pyenv shell --unset