From 2a8cddec0f566794d07cc2b345bbc8fadb61ddbb Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Wed, 9 Sep 2020 23:53:40 +0200 Subject: [PATCH] Another attempt to include the source package. --- ci-scripts/docker/docker_build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci-scripts/docker/docker_build.sh b/ci-scripts/docker/docker_build.sh index 747acb867..d5c39cd35 100755 --- a/ci-scripts/docker/docker_build.sh +++ b/ci-scripts/docker/docker_build.sh @@ -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