Skip to content

Commit

Permalink
Install twine into a new virtualenv, not globally
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Nov 11, 2019
1 parent 1836a9f commit cc4af28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ after_success:
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# macpython 3.5 doesn't support recent TLS protocols which causes twine
# upload to fail, so we use the system Python to run twine
/usr/bin/python -m ensurepip
/usr/bin/python -m pip install twine
virtualenv -p /usr/bin/python .twine-env && . .twine-env/bin/activate
pip install twine
twine check dist/*
if [[ $TRAVIS_TAG ]]; then
twine upload --skip-existing dist/*
Expand Down

0 comments on commit cc4af28

Please sign in to comment.