Fixed a script bug.

This commit is contained in:
Matthias Koefferlein 2020-09-10 00:01:04 +02:00
parent 0a444f53b2
commit f761ae50cb
2 changed files with 1 additions and 2 deletions

View File

@ -517,7 +517,6 @@ script:
docker run --rm -e DOCKER_IMAGE -e PY_VERSION -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD "/io/ci-scripts/docker/docker_build.sh";
klayout_version=$(python -c 'import setup; print(setup.Config().version())');
mkdir -p deploy/dist-pymod/$klayout_version;
python setup.py sdist --formats=gztar,zip --dist-dir=deploy/dist-pymod/$klayout_version;
cp -a wheelhouse/{klayout-*manylinux1*.whl,*.tar.gz,*.zip} deploy/dist-pymod/$klayout_version;
if [ "$TEST_IN_HOST" = true ]; then
pip install klayout --no-index -f ./wheelhouse;

View File

@ -53,7 +53,7 @@ ccache -s
# 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
"/opt/python/$PY_VERSION/bin/python" setup.py sdist --formats=gztar,zip -d /io/wheelhouse || exit 1
# Show ccache stats
echo "Cache stats:"