Skip to content

Commit

Permalink
Update build_wheels.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
brmmm3 committed Feb 10, 2022
1 parent 92bea12 commit 13f0602
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 13f0602

Please sign in to comment.