mirror of https://github.com/KLayout/klayout.git
Can only provide one source dist for PyPI.
This commit is contained in:
parent
f761ae50cb
commit
4327e8ec5e
|
|
@ -517,7 +517,7 @@ script:
|
||||||
docker run --rm -e DOCKER_IMAGE -e PY_VERSION -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD "/io/ci-scripts/docker/docker_build.sh";
|
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())');
|
klayout_version=$(python -c 'import setup; print(setup.Config().version())');
|
||||||
mkdir -p deploy/dist-pymod/$klayout_version;
|
mkdir -p deploy/dist-pymod/$klayout_version;
|
||||||
cp -a wheelhouse/{klayout-*manylinux1*.whl,*.tar.gz,*.zip} deploy/dist-pymod/$klayout_version;
|
cp -a wheelhouse/{klayout-*manylinux1*.whl,*.zip} deploy/dist-pymod/$klayout_version;
|
||||||
if [ "$TEST_IN_HOST" = true ]; then
|
if [ "$TEST_IN_HOST" = true ]; then
|
||||||
pip install klayout --no-index -f ./wheelhouse;
|
pip install klayout --no-index -f ./wheelhouse;
|
||||||
python testdata/pymod/import_db.py;
|
python testdata/pymod/import_db.py;
|
||||||
|
|
@ -539,7 +539,7 @@ script:
|
||||||
python testdata/pymod/pya_tests.py;
|
python testdata/pymod/pya_tests.py;
|
||||||
klayout_version=$(python -c 'import setup; print(setup.Config().version())');
|
klayout_version=$(python -c 'import setup; print(setup.Config().version())');
|
||||||
mkdir -p deploy/dist-pymod/$klayout_version;
|
mkdir -p deploy/dist-pymod/$klayout_version;
|
||||||
cp -a dist/{*.whl,*.tar.gz,*.zip} deploy/dist-pymod/$klayout_version;
|
cp -a dist/{*.whl,*.zip} deploy/dist-pymod/$klayout_version;
|
||||||
python -c 'import klayout.db as db; print(dir(db))';
|
python -c 'import klayout.db as db; print(dir(db))';
|
||||||
python -c 'import klayout.rdb as rdb; print(dir(rdb))';
|
python -c 'import klayout.rdb as rdb; print(dir(rdb))';
|
||||||
python -c 'import klayout.tl as tl; print(dir(tl))';
|
python -c 'import klayout.tl as tl; print(dir(tl))';
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ ccache -s
|
||||||
# Compile wheel and build source distribution
|
# Compile wheel and build source distribution
|
||||||
cd /io
|
cd /io
|
||||||
"/opt/python/$PY_VERSION/bin/python" setup.py bdist_wheel -d /io/wheelhouse/ || exit 1
|
"/opt/python/$PY_VERSION/bin/python" setup.py bdist_wheel -d /io/wheelhouse/ || exit 1
|
||||||
"/opt/python/$PY_VERSION/bin/python" setup.py sdist --formats=gztar,zip -d /io/wheelhouse || exit 1
|
"/opt/python/$PY_VERSION/bin/python" setup.py sdist --formats=zip -d /io/wheelhouse || exit 1
|
||||||
|
|
||||||
# Show ccache stats
|
# Show ccache stats
|
||||||
echo "Cache stats:"
|
echo "Cache stats:"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue