summaryrefslogtreecommitdiff
path: root/tox/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'tox/config.py')
-rw-r--r--tox/config.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox/config.py b/tox/config.py
index 78d070a..1fd702c 100644
--- a/tox/config.py
+++ b/tox/config.py
@@ -181,7 +181,7 @@ class PosargsOption:
class InstallcmdOption:
name = "install_command"
type = "argv"
- default = "pip install {opts} {packages}"
+ default = "python -m pip install {opts} {packages}"
help = "install command for dependencies and package under test."
def postprocess(self, testenv_config, value):
@@ -518,6 +518,13 @@ def tox_addoption(parser):
help="install package in develop/editable mode")
parser.add_testenv_attribute_obj(InstallcmdOption())
+
+ parser.add_testenv_attribute(
+ name = "list_dependencies_command",
+ type = "argv",
+ default = "python -m pip freeze",
+ help = "list dependencies for a virtual environment")
+
parser.add_testenv_attribute_obj(DepOption())
parser.add_testenv_attribute(