Ilya Shakhat 39d2a334b7 Add build infrastructure
Change-Id: Ieedbb726bc9091bc56498d8b07c43c32d8701088
2015-12-07 13:47:45 +03:00

23 lines
494 B
INI

[tox]
envlist = docs
minversion = 1.6
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
deps = -r{toxinidir}/requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands =
sphinx-build -b html doc/source/ doc/build/html
sphinx-build -b latex doc/source/ doc/build/latex
sphinx-build -b pdf doc/source/ doc/build/pdf