Skip to content

Commit

Permalink
Update linux-wheels.sh, use more PyPA images
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Dec 7, 2023
1 parent dd34817 commit 5747fda
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/linux-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

cd "$(dirname "$0")/.."
if [ ! -d dist ]; then mkdir dist; fi
docker run -i --rm -v "${PWD}:/src" quay.io/pypa/manylinux2010_x86_64 <<'END'
for image in manylinux2010_x86_64 manylinux2014_x86_64; do
docker run -i --rm -v "${PWD}:/src" quay.io/pypa/${image} <<'END'
yum install -y sqlite-devel
cd /src/reprozip
for PYBIN in /opt/python/*/bin; do "${PYBIN}/pip" wheel . -w ../dist; done
for WHEEL in ../dist/*.whl; do auditwheel repair "${WHEEL}" -w ../dist; done
exit 0
END
done

0 comments on commit 5747fda

Please sign in to comment.