From: Stephen Finucane Date: Tue, 19 Jan 2016 22:05:45 +0000 (+0000) Subject: tox: Add 'venv' target X-Git-Tag: v1.1.0~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de99fa861b1fc85a5be45e941a233ba8bba58200;p=thirdparty%2Fpatchwork.git tox: Add 'venv' target The venv command provides access to the tox virtual environment without the need to source the actual virtualenv 'activate' file. Signed-off-by: Stephen Finucane --- diff --git a/tox.ini b/tox.ini index a5e20a8f..dcc6ed8e 100644 --- a/tox.ini +++ b/tox.ini @@ -38,6 +38,9 @@ deps = -r{toxinidir}/requirements-prod.txt commands = pylint patchwork --rcfile=pylint.rc +[testenv:venv] +commands = {posargs} + [testenv:coverage] basepython = python2.7 deps =