Fix tox.ini

Follow standard OpenStack tox.ini setup.

Change-Id: I6c3adaf54b84960dd6a15d8e8cefabf50c6df535
This commit is contained in:
Andreas Jaeger 2016-02-29 09:37:08 +01:00
parent 9359f06e08
commit a76dc00a27
1 changed files with 5 additions and 12 deletions

17
tox.ini
View File

@ -3,17 +3,10 @@ envlist = docs
skipsdist = True
[testenv]
basepython =
docs: python2.7
deps = -r{toxinidir}/test-requirements.txt
envdir =
docs: {toxworkdir}/2.7
[testenv:venv]
commands = {posargs}
changedir =
docs: {toxinidir}/doc/
deps =
-r{toxinidir}/requirements.txt
commands =
docs: sphinx-build -W -b html . {toxinidir}/doc/build/html
[docs]
commands = python setup.py build_sphinx