chore(py3): update doc build to use py3

Per Stein community goal [0], update the doc build to use python 3 by default.

[0] https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ifb1dfbe0ecabc629c39b98a156c09b95e3c738f0
Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
Tin Lam 2018-08-11 23:02:07 -05:00
parent 5979f7f93a
commit d2f2eefbdb
1 changed files with 2 additions and 0 deletions

View File

@ -118,12 +118,14 @@ ignore = E731,H405
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,releasenotes,doc,alembic/versions
[testenv:docs]
basepython = python3
deps =
-r{toxinidir}/doc/requirements.txt
commands =
{toxinidir}/tools/build-docs.sh
[testenv:releasenotes]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf releasenotes/build