diff mbox

[2/2] tox: Add 'venv' target

Message ID 1453241449-32460-2-git-send-email-stephen.finucane@intel.com
State Accepted
Headers show

Commit Message

Stephen Finucane Jan. 19, 2016, 10:10 p.m. UTC
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 | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

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 =