Commit 89f4da29 authored by Edward Andò's avatar Edward Andò
Browse files

Attempt to build python3.8 package on new manylinux2014

parent 900e8a5e
Pipeline #47461 passed with stages
in 28 minutes and 48 seconds
...@@ -2,18 +2,21 @@ ...@@ -2,18 +2,21 @@
set -e -x set -e -x
PYBINS=( PYBINS=(
"/opt/python/cp27-cp27m/bin" # "/opt/python/cp27-cp27m/bin"
"/opt/python/cp27-cp27mu/bin" # "/opt/python/cp27-cp27mu/bin"
"/opt/python/cp35-cp35m/bin" "/opt/python/cp35-cp35m/bin"
"/opt/python/cp36-cp36m/bin" "/opt/python/cp36-cp36m/bin"
"/opt/python/cp37-cp37m/bin" "/opt/python/cp37-cp37m/bin"
"/opt/python/cp38-cp38m/bin" "/opt/python/cp38-cp38/bin"
# "/opt/python/cp38-cp39/bin"
) )
# Compile wheels # Compile wheels
for PYBIN in ${PYBINS[@]}; do for PYBIN in ${PYBINS[@]}; do
"${PYBIN}/pip" install numpy "${PYBIN}/pip" install numpy
"${PYBIN}/pip" install pybind11 "${PYBIN}/pip" install pybind11
"${PYBIN}/pip" install cython # needed for scikit image
"${PYBIN}/pip" install scikit-build # needed for scikit image
"${PYBIN}/python" setup.py build -e "/usr/bin/env python" "${PYBIN}/python" setup.py build -e "/usr/bin/env python"
"${PYBIN}/python" setup.py install "${PYBIN}/python" setup.py install
"${PYBIN}/pip" wheel . -w wheelhouse/ "${PYBIN}/pip" wheel . -w wheelhouse/
...@@ -22,7 +25,7 @@ done ...@@ -22,7 +25,7 @@ done
# Bundle external shared libraries into the wheels # Bundle external shared libraries into the wheels
for whl in wheelhouse/spam*.whl; do for whl in wheelhouse/spam*.whl; do
auditwheel repair "$whl" --plat manylinux2010_x86_64 -w /wheelhouse/ auditwheel repair "$whl" --plat manylinux2014_x86_64 -w /wheelhouse/
done done
# Install packages and test # Install packages and test
......
...@@ -12,7 +12,7 @@ On Windows 10 an Ubuntu Linux subsystem can installed via WSL, which should offe ...@@ -12,7 +12,7 @@ On Windows 10 an Ubuntu Linux subsystem can installed via WSL, which should offe
.. .. _Riot room: https://riot.im/app/#/room/#spam:matrix.org .. .. _Riot room: https://riot.im/app/#/room/#spam:matrix.org
``Spam`` works on both **Python** 2.7 and 3.5+, but only **Python 3** will be supported going forward. ``Spam`` works on **Python 3.5+**, but if you need **python** 2.7 support the *git* install still works correctly.
The install process is in two steps: installing **system dependencies**, then **installing spam**. The install process is in two steps: installing **system dependencies**, then **installing spam**.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment