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 DJANGO_SETTINGS_MODULE = tests.settings
[testenv:docs] [testenv:docs]
changedir = docs basepython = python2.7
deps = deps =
Sphinx Sphinx
Django==1.3.1
commands = commands =
make clean rm -rf docs/_build
make html {envbindir}/sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
[testenv:py25-1.2.X] [testenv:py25-1.2.X]
basepython = python2.5 basepython = python2.5