summaryrefslogtreecommitdiff
path: root/tox/_cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'tox/_cmdline.py')
-rw-r--r--tox/_cmdline.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/tox/_cmdline.py b/tox/_cmdline.py
index 9f42db6..8a166e5 100644
--- a/tox/_cmdline.py
+++ b/tox/_cmdline.py
@@ -1,8 +1,8 @@
"""
Automatically package and test a Python project against configurable
Python2 and Python3 based virtual environments. Environments are
-setup by using virtualenv and virtualenv5 respectively. Configuration
-is generally done through an INI-style "tox.ini" file.
+setup by using virtualenv. Configuration is generally done through an
+INI-style "tox.ini" file.
"""
import tox
import py
@@ -247,9 +247,8 @@ class Session:
def info_versions(self):
versions = ['tox-%s' % tox.__version__]
- for tool in ('virtualenv', 'virtualenv5'):
- version = py.process.cmdexec("%s --version" % tool)
- versions.append("%s-%s" %(tool, version.strip()))
+ version = py.process.cmdexec("virtualenv --version")
+ versions.append("virtualenv-%s" % version.strip())
self.report.keyvalue("tool-versions:", " ".join(versions))
def pcall(self, args, log=None, cwd=None, env=None):