From 9fe7a0d483e1a377d46a1f8014868a91fa8f6884 Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Sat, 20 Jun 2015 23:39:27 +0900 Subject: Use tox to solve python package deps JIRA: PROMISE-4 Change-Id: I3fe282dbc5807fe7e76a25fb3fa44a4d47b51c1d Signed-off-by: Ryota MIBU --- tox.ini | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tox.ini (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..7cab86b --- /dev/null +++ b/tox.ini @@ -0,0 +1,16 @@ +[tox] +minversion = 1.4 +envlist = pdf,html +skipsdist = True + +[testenv] +deps = -r{toxinidir}/requirements.txt + +[testenv:pdf] +commands = + sphinx-build -b latex -c etc -d build/doctrees requirements build/requirements/latex + make -C build/requirements/latex LATEXOPTS='--interaction=nonstopmode' all-pdf + +[testenv:html] +commands = + sphinx-build -b html -c etc -d build/doctrees requirements build/requirements/html -- cgit 1.2.3-korg