Commit 1c7bfbf2 authored by Forest Gregg's avatar Forest Gregg

use twine instead of python setup.py upload

parent 24d80d27
......@@ -40,7 +40,10 @@ after_success:
- echo repository=https://pypi.python.org/pypi >> ~/.pypirc
- echo username=USER >> ~/.pypirc
- echo password=$PYPIPASSWORD >> ~/.pypirc
- if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then python setup.py bdist_wheel upload; fi
- if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then pip install twine; fi
- if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then python setup.py bdist_wheel; fi
- if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then twine upload dist/*; fi
env:
global:
- secure: encrypted_PYPIPASSWORD
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment