From 3381f7be151400c973e26a32f194e1ef869f6db8 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Fri, 30 Nov 2018 17:26:50 -0800 Subject: Update setup.py for modern pypi / setuptools Signed-off-by: Joffrey F --- scripts/release.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'scripts') diff --git a/scripts/release.sh b/scripts/release.sh index 5b37b6d..f3ace27 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -3,12 +3,6 @@ # Create the official release # -if [ -z "$(command -v pandoc 2> /dev/null)" ]; then - >&2 echo "$0 requires http://pandoc.org/" - >&2 echo "Please install it and make sure it is available on your \$PATH." - exit 2 -fi - VERSION=$1 REPO=docker/docker-py GITHUB_REPO=git@github.com:$REPO @@ -37,11 +31,10 @@ if [[ $2 == 'upload' ]]; then fi -pandoc -f markdown -t rst README.md -o README.rst || exit 1 echo "##> sdist & wheel" python setup.py sdist bdist_wheel if [[ $2 == 'upload' ]]; then echo '##> Uploading sdist to pypi' twine upload dist/docker-$VERSION* -fi \ No newline at end of file +fi -- cgit v1.2.1