changeset 7587:cf81d586cf07

scripts/make-release: remove uploading of PyPI docs This is now replaced by ReadTheDocs.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Mon, 18 Mar 2019 22:30:51 +0100
parents 30e3d0a14f09
children e4452268c09f
files scripts/make-release
diffstat 1 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/make-release	Fri Mar 15 21:25:49 2019 +0100
+++ b/scripts/make-release	Mon Mar 18 22:30:51 2019 +0100
@@ -20,7 +20,7 @@
 
 echo "Install/verify tools needed for building and uploading stuff"
 pip install --upgrade -e .
-pip install --upgrade -r dev_requirements.txt Sphinx-PyPI-upload
+pip install --upgrade -r dev_requirements.txt
 
 echo "Cleanup and update copyrights ... and clean checkout"
 scripts/run-all-cleanup
@@ -50,7 +50,7 @@
 diff -u <((hg mani | grep -v '^\.hg') | LANG=C sort) <(tar tf dist/Kallithea-$version.tar.gz | sed "s|^$namerel/||" | grep . | grep -v '^kallithea/i18n/.*/LC_MESSAGES/kallithea.mo$\|^Kallithea.egg-info/\|^PKG-INFO$\|/$' | LANG=C sort)
 
 echo "Verify docs build"
-python2 setup.py build_sphinx # not used yet ... but we want to make sure it builds
+python2 setup.py build_sphinx # the results are not actually used, but we want to make sure it builds
 
 cat - << EOT
 
@@ -69,11 +69,6 @@
 read answer
 [ "$answer" = "pypi" ]
 
-echo "Upload docs to pypi"
-# See https://wiki.python.org/moin/PyPiDocumentationHosting
-python2 setup.py build_sphinx upload_sphinx
-xdg-open http://packages.python.org/Kallithea/installation.html
-
 echo "Rebuild readthedocs for docs.kallithea-scm.org"
 xdg-open https://readthedocs.org/projects/kallithea/
 curl -X POST http://readthedocs.org/build/kallithea