Another attempt to include the source package.

This commit is contained in:
Matthias Koefferlein 2020-09-09 23:53:40 +02:00
parent b814175a1c
commit 0a444f53b2
1 changed files with 3 additions and 2 deletions

View File

@ -50,9 +50,10 @@ $AUDITWHEEL_PYTHON -m pip install .
echo "Cache stats:"
ccache -s
# Compile wheel
# Compile wheel and build source distribution
cd /io
"/opt/python/$PY_VERSION/bin/python" setup.py bdist_wheel -d /io/wheelhouse/ || exit 1
"/opt/python/$PY_VERSION/bin/python" python setup.py sdist --formats=gztar,zip --dist-dir=/io/wheelhouse || exit 1
# Show ccache stats
echo "Cache stats:"
@ -60,7 +61,7 @@ ccache -s
# Bundle external shared libraries into the wheels via auditwheel
for whl in /io/wheelhouse/*linux_*.whl; do
auditwheel -v repair "$whl" -w /io/wheelhouse/ || exit 1
auditwheel repair "$whl" -w /io/wheelhouse/ || exit 1
done
# Install packages and test