summaryrefslogtreecommitdiff
path: root/tox/_venv.py
diff options
context:
space:
mode:
Diffstat (limited to 'tox/_venv.py')
-rw-r--r--tox/_venv.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox/_venv.py b/tox/_venv.py
index 0c56cc0..937a881 100644
--- a/tox/_venv.py
+++ b/tox/_venv.py
@@ -260,6 +260,8 @@ class VirtualEnv(object):
if self.envconfig.downloadcache:
self.envconfig.downloadcache.ensure(dir=1)
l.append("--download-cache=%s" % self.envconfig.downloadcache)
+ if self.envconfig.pip_pre:
+ l.append("--pre")
return l
def run_install_command(self, packages, options=(),