[PATCH 6 of 9 v2] scripts/make-release: remove uploading of PyPI docs

Thomas De Schampheleire patrickdepinguin at gmail.com
Tue Mar 19 21:10:06 UTC 2019


# HG changeset patch
# User Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
# Date 1552944651 -3600
#      Mon Mar 18 22:30:51 2019 +0100
# Node ID 58c9b84a412cb9cd16376ee4605b67c331583d85
# Parent  d66e111e63515fab2099a2c90ab00c8daf6861f4
scripts/make-release: remove uploading of PyPI docs

This is now replaced by ReadTheDocs.

diff --git a/scripts/make-release b/scripts/make-release
--- a/scripts/make-release
+++ b/scripts/make-release
@@ -20,7 +20,7 @@ virtualenv -p python2 "$venv"
 
 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 @@ echo "Verify dist file content"
 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 @@ echo -n "Enter \"pypi\" to upload Kallit
 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


More information about the kallithea-general mailing list