Fixed docs tox env to work in all cases.

This commit is contained in:
Jannis Leidel
2011-12-05 18:20:59 +01:00
parent a6599c6ece
commit ea21ce1846

View File

@@ -8,12 +8,13 @@ setenv =
DJANGO_SETTINGS_MODULE = tests.settings
[testenv:docs]
changedir = docs
basepython = python2.7
deps =
Sphinx
Django==1.3.1
commands =
make clean
make html
rm -rf docs/_build
{envbindir}/sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
[testenv:py25-1.2.X]
basepython = python2.5