Skip to content

Commit

Permalink
fix upload_packages script for pypy (#151)
Browse files Browse the repository at this point in the history
switch to python -m for package upload
  • Loading branch information
hendrikmuhs committed Apr 23, 2020
1 parent aeb680e commit 18c18bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions travis/upload_packages.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
set -x

pip install --user wheel twine --upgrade
python -m pip install --user wheel twine --upgrade

cd python
if [ -n "$(ls -A wheelhouse)" ]; then
twine upload --config-file ../travis/pypirc -u $PYPI_USERNAME -p $PYPI_PASSWORD wheelhouse/* || travis_terminate 1;
python -m twine upload --config-file ../travis/pypirc -u $PYPI_USERNAME -p $PYPI_PASSWORD wheelhouse/* || travis_terminate 1;
fi

0 comments on commit 18c18bd

Please sign in to comment.