Merge "switch the build to use python3"

This commit is contained in:
Zuul 2018-07-02 15:10:20 +00:00 committed by Gerrit Code Review
commit 4ec3963480
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ tools/build-all-rst.sh --pdf
# Build the www pages so that openstack-indexpage creates a link to
# www/www-index.html.
if [ "$PUBLISH" = "build" ] ; then
python tools/www-generator.py --source-directory www/ \
python3 tools/www-generator.py --source-directory www/ \
--output-directory publish-docs/www/
rsync -a www/static/ publish-docs/www/
# publish-docs/www-index.html is the trigger for openstack-indexpage
@ -35,7 +35,7 @@ if [ "$PUBLISH" = "build" ] ; then
mv publish-docs/www/www-index.html publish-docs/www-index.html
fi
if [ "$PUBLISH" = "publish" ] ; then
python tools/www-generator.py --source-directory www/ \
python3 tools/www-generator.py --source-directory www/ \
--output-directory publish-docs
rsync -a www/static/ publish-docs/
# Don't publish these files

View File

@ -4,7 +4,7 @@ envlist = linters,checkbuild
skipsdist = True
[testenv]
basepython=python2.7
basepython=python3
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt