twine deploy
@@ -60,7 +60,6 @@ install:
docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/.manylinux-install.sh;
else
pip install --upgrade pip;
- pip install wheel;
pip install "numpy>=1.9.2";
pip install --upgrade -r requirements.txt;
pip install coveralls;
@@ -73,13 +72,16 @@ script:
python tests/canonical.py -vv;
fi;
after_success:
+- pip install wheel twine
- if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then
coveralls;
- python setup.py bdist_wheel upload;
+ python setup.py bdist_wheel;
+ twine upload dist/*;
fi;
- if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "linux" ]]; then
coveralls;
- python setup.py sdist upload;
+ python setup.py sdist;
+ twine upload dist/*;
fi;
env:
global:
