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:
parent
5979f7f93a
commit
d2f2eefbdb
2
tox.ini
2
tox.ini
|
@ -118,12 +118,14 @@ ignore = E731,H405
|
||||||
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,releasenotes,doc,alembic/versions
|
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,releasenotes,doc,alembic/versions
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
basepython = python3
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
{toxinidir}/tools/build-docs.sh
|
{toxinidir}/tools/build-docs.sh
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
|
basepython = python3
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
rm -rf releasenotes/build
|
rm -rf releasenotes/build
|
||||||
|
|
Loading…
Reference in New Issue