ensure python2 in the release workflow

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht
2019-08-19 19:35:13 +02:00
parent 3d918ff7fe
commit 0b18cb5e73
2 changed files with 5 additions and 5 deletions

View File

@@ -24,13 +24,13 @@ RST2HTML=`type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py`
all: build
build:
python setup.py build
python2 setup.py build
@echo
@echo "Build process finished, run 'python setup.py install' to install" \
"or 'python setup.py --help' for more information".
@echo "Build process finished, run 'python2 setup.py install' to install" \
"or 'python2 setup.py --help' for more information".
clean:
-python setup.py clean --all
-python2 setup.py clean --all
-rm -f bin/offlineimapc 2>/dev/null
-find . -name '*.pyc' -exec rm -f {} \;
-find . -name '*.pygc' -exec rm -f {} \;

View File

@@ -77,7 +77,7 @@ Announce template stands in '{announce}'.
Command samples to do manually:
- git push <remote> master next {new_version}
- python setup.py sdist && twine upload dist/* && rm -rf dist MANIFEST
- python2 setup.py sdist && twine upload dist/* && rm -rf dist MANIFEST
- cd website
- git checkout master
- git merge {website_branch}