From 8b4e4f4d3f2bf61d3f01a396404a0db4a9154e48 Mon Sep 17 00:00:00 2001 From: vtraag Date: Fri, 17 Nov 2017 15:23:44 +0100 Subject: [PATCH] Changed release script for linux. --- release.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/release.sh b/release.sh index 84753de..73ef90e 100644 --- a/release.sh +++ b/release.sh @@ -6,10 +6,6 @@ echo Building $PACKAGE if [ "$1" = "release" ]; then echo "Making release, uploading to PyPi and Anaconda..." - # Check and test package - python setup.py check - python setup.py test - # Python 2 source ~/anaconda2/bin/activate root ~/anaconda2/bin/conda config --set anaconda_upload yes @@ -24,7 +20,7 @@ if [ "$1" = "release" ]; then python setup.py --no-pkg-config bdist_conda # Conda binary # Upload using twine - twine uploader dist/$PACKAGE-* --sign + twine upload dist/$PACKAGE-* --sign # docs will be built automatically by readthedocs.org @@ -44,6 +40,9 @@ else python setup.py bdist_egg # Binary python setup.py --no-pkg-config bdist_conda # Conda binary + # Upload using twine + twine upload dist/$PACKAGE-* --sign -r pypitest + # List package echo Created following packages ls -1 dist/$PACKAGE-*