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:
parent
5035de30a8
commit
c234d6330e
3
tox.ini
3
tox.ini
@ -43,7 +43,8 @@ basepython = python3
|
|||||||
commands = oslopolicy-sample-generator --config-file=etc/oslo-policy-generator/cloudkitty.conf
|
commands = oslopolicy-sample-generator --config-file=etc/oslo-policy-generator/cloudkitty.conf
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
# TODO: switch back to python3 after removing wsme from the api
|
||||||
|
basepython = python2
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
Loading…
Reference in New Issue
Block a user