[PATCH 2/2] tox: Add 'venv' target
Stephen Finucane
stephen.finucane at intel.com
Wed Jan 20 09:10:49 AEDT 2016
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 at intel.com>
---
tox.ini | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tox.ini b/tox.ini
index a5e20a8..dcc6ed8 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 =
--
2.0.0
More information about the Patchwork
mailing list