summaryrefslogtreecommitdiff
path: root/tox/session.py
diff options
context:
space:
mode:
Diffstat (limited to 'tox/session.py')
-rw-r--r--tox/session.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox/session.py b/tox/session.py
index 029b06b..1d51b92 100644
--- a/tox/session.py
+++ b/tox/session.py
@@ -537,8 +537,9 @@ class Session:
# write out version dependency information
action = self.newaction(venv, "envreport")
with action:
- pip = venv.getcommandpath("pip")
- output = venv._pcall([str(pip), "freeze"],
+ python = venv.getcommandpath("python")
+ args = venv.envconfig.list_dependencies_command
+ output = venv._pcall(args,
cwd=self.config.toxinidir,
action=action)
# the output contains a mime-header, skip it