Bug 1240993 - Remove deprecated --download-cache flag from pip invocation, r=bustage, a=bustage

CLOSED TREE
This commit is contained in:
Ryan VanderMeulen 2016-01-19 22:02:34 -05:00
parent 958a55f54a
commit 1afc8a351e

View File

@ -221,9 +221,6 @@ class VirtualenvMixin(object):
command = [pip, "install"]
if no_deps:
command += ["--no-deps"]
virtualenv_cache_dir = c.get("virtualenv_cache_dir", os.path.join(venv_path, "cache"))
if virtualenv_cache_dir:
command += ["--download-cache", virtualenv_cache_dir]
# To avoid timeouts with our pypi server, increase default timeout:
# https://bugzilla.mozilla.org/show_bug.cgi?id=1007230#c802
command += ['--timeout', str(c.get('pip_timeout', 120))]