Force python2 for documentation generation

Due to the Sphinx module of pecanwsme,
which is not python3 compatible,
we need to force the usage of python2
for the documentation generation.
A future patch will remove the usage of pecanwsme completely.
This commit will be reverted at the same time.

Change-Id: Icaa8047d9d15cb75a75bbb04336e5f9d2fefcbe0
This commit is contained in:
MC 2018-06-26 11:27:08 +02:00 committed by Maxime Cottret
parent 5035de30a8
commit c234d6330e

View File

@ -43,7 +43,8 @@ basepython = python3
commands = oslopolicy-sample-generator --config-file=etc/oslo-policy-generator/cloudkitty.conf
[testenv:docs]
basepython = python3
# TODO: switch back to python3 after removing wsme from the api
basepython = python2
commands = python setup.py build_sphinx
[testenv:venv]