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

Thomas De Schampheleire patrickdepinguin at gmail.com
Mon Mar 18 22:09:31 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 e1c96fb590cd101b0bd001f6729826401103472c
# Parent  179b7c49e8044fc51fba43524e29a24cc0b17eb8
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