Skip to content

Commit 3238779

Browse files
committed
Try to fix build-wheels script
1 parent b8004f8 commit 3238779

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

build-wheels.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ chmod +x /tmp/rustup.sh
5353

5454
# Compile wheels
5555
for PYBIN in /opt/python/*/bin; do
56-
${PYBIN}/pip install pytest
57-
${PYBIN}/pip wheel /io/ -w wheelhouse/
56+
${PYBIN}/python -m pip install pytest
57+
${PYBIN}/python -m pip wheel /io/ -w wheelhouse/
5858
done
5959

6060
# Move pure wheels to output wheelhouse
@@ -71,8 +71,8 @@ chmod -R a+rw /io/wheelhouse
7171

7272
# Install packages and test
7373
for PYBIN in /opt/python/*/bin/; do
74-
${PYBIN}/pip install rust_fst --no-index -f /io/wheelhouse
75-
${PYBIN}/py.test --verbose /io/tests
74+
${PYBIN}/python -m pip install rust_fst --no-index -f /io/wheelhouse
75+
${PYBIN}/python -m pytest --verbose /io/tests
7676
rm -f /io/rust_fst/_ffi.py
7777
find /io -name "__pycache__" -type d -print0 |xargs rm -rf --
7878
find /io -name "*.pyc" -type f -print0 |xargs rm -rf --

0 commit comments

Comments
 (0)