From c96cf403fb4f24d414f40faf4691174e4c54ea0b Mon Sep 17 00:00:00 2001 From: Ian Stapleton Cordasco Date: Thu, 30 Dec 2021 15:33:43 -0600 Subject: Use pypa/build to build dists, remove duplicate Python setup step We don't need to set things up twice in a row (which we were doing in restoring the cache) and let's use pypa/build instead of python setup.py since that's better supported and the future --- ci/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ci') diff --git a/ci/deploy.sh b/ci/deploy.sh index 503f0723..322ca26f 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -2,6 +2,6 @@ set -exo pipefail -python3 -m pip install --upgrade twine wheel -python3 setup.py sdist bdist_wheel +python3 -m pip install --upgrade twine wheel build +python3 -m build python3 -m twine upload dist/* -u $PYPI_USERNAME -p $PYPI_PASSWORD --skip-existing -- cgit v1.2.1