Always use python2.7 for docs target

The docs testenv doesn't work with python 3.x on our codebase.
If someone is on a platform that defaults to python => python3,
building docs will fail for them.

Closes-Bug: #1646629

Change-Id: I56f3933e89e6fe9e181517325e2d7af5110c5656
This commit is contained in:
melanie witt 2016-12-01 22:04:48 +00:00
parent 53fd70aacf
commit b05e996ae5
1 changed files with 3 additions and 0 deletions

View File

@ -88,6 +88,9 @@ commands =
commands = {posargs}
[testenv:docs]
# TODO(melwitt): This can be removed when the docs target can be run
# with python 3.x
basepython = python2.7
commands =
rm -rf doc/source/api doc/build api-guide/build api-ref/build
python setup.py build_sphinx