Remove support for old python
This commit is contained in:
parent
47d63a25ce
commit
be64c7fd7a
@ -16,7 +16,7 @@ ln -fs /usr/bin/cmake3 /usr/bin/cmake
|
|||||||
test -d /io/wheelhouse || mkdir /io/wheelhouse
|
test -d /io/wheelhouse || mkdir /io/wheelhouse
|
||||||
test -d /io/wheelhouse/fix || mkdir /io/wheelhouse/fix
|
test -d /io/wheelhouse/fix || mkdir /io/wheelhouse/fix
|
||||||
|
|
||||||
ALL_PYTHON="cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310"
|
ALL_PYTHON="cp39-cp39 cp310-cp310"
|
||||||
|
|
||||||
# Compile wheels
|
# Compile wheels
|
||||||
for pkg in $ALL_PYTHON; do
|
for pkg in $ALL_PYTHON; do
|
||||||
@ -24,11 +24,11 @@ for pkg in $ALL_PYTHON; do
|
|||||||
# "${PYBIN}/pip" install -r /io/dev-requirements.txt
|
# "${PYBIN}/pip" install -r /io/dev-requirements.txt
|
||||||
"${PYBIN}/pip" install setuptools wheel Cython
|
"${PYBIN}/pip" install setuptools wheel Cython
|
||||||
"${PYBIN}/pip" install -r /io/requirements.txt
|
"${PYBIN}/pip" install -r /io/requirements.txt
|
||||||
"${PYBIN}/pip" wheel -vvv /io/ -w wheelhouse/
|
"${PYBIN}/pip" wheel -vvv /io/ -w /io/wheelhouse/
|
||||||
done
|
done
|
||||||
|
|
||||||
# Bundle external shared libraries into the wheels
|
# Bundle external shared libraries into the wheels
|
||||||
for whl in /io/wheelhouse/cosmotool*.whl; do
|
for whl in /io/wheelhouse/cosmotool*linux*.whl; do
|
||||||
auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/fix
|
auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/fix
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -9,4 +9,4 @@ if ! [ -e ${d}/setup.py ] ; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
podman run -ti --rm -e PLAT=manylinux2010_x86_64 -v ${d}:/io:Z quay.io/pypa/manylinux2010_x86_64 /io/builder/build-wheels.sh
|
podman run -ti --rm -e PLAT=manylinux2014_x86_64 -v ${d}:/io:Z quay.io/pypa/manylinux2014_x86_64 /io/builder/build-wheels.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user