diff options
author | Carl Meyer <carl@oddbird.net> | 2014-10-06 17:36:05 -0600 |
---|---|---|
committer | Carl Meyer <carl@oddbird.net> | 2014-10-06 17:36:05 -0600 |
commit | fde8f18e5baa7c4bad05be63847d2bb4ac971248 (patch) | |
tree | ed3a0c27149ac46eb26b0422cc1525a1c4a89c57 /tox/_venv.py | |
parent | e6c99fa4b0a2056009b69144e3a8ed908e2ac053 (diff) | |
download | tox-fde8f18e5baa7c4bad05be63847d2bb4ac971248.tar.gz |
Add --pre and testenv pip_pre options, no --pre by default.
Diffstat (limited to 'tox/_venv.py')
-rw-r--r-- | tox/_venv.py | 2 |
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=(), |