Changeset - cf81d586cf07
[Not reviewed]
default
0 1 0
Thomas De Schampheleire - 7 years ago 2019-03-18 22:30:51
thomas.de_schampheleire@nokia.com
scripts/make-release: remove uploading of PyPI docs

This is now replaced by ReadTheDocs.
1 file changed with 2 insertions and 7 deletions:
0 comments (0 inline, 0 general)
scripts/make-release
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)