]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
tox: Add 'venv' target
authorStephen Finucane <stephen.finucane@intel.com>
Tue, 19 Jan 2016 22:05:45 +0000 (22:05 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Mon, 25 Jan 2016 16:09:36 +0000 (16:09 +0000)
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 <stephen.finucane@intel.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index a5e20a8f698da1c1aac8947c7acd1deac38c97aa..dcc6ed8eb16cca3352ba8a8cd50bf3661b3eb276 100644 (file)
--- 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 =