summaryrefslogtreecommitdiff
path: root/src/virtualenv.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/virtualenv.py')
-rwxr-xr-xsrc/virtualenv.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/virtualenv.py b/src/virtualenv.py
index 1fae20a..1de4e0c 100755
--- a/src/virtualenv.py
+++ b/src/virtualenv.py
@@ -894,7 +894,7 @@ def install_wheel(project_names, py_executable, search_dirs=None, download=False
search_dirs = file_search_dirs()
wheels = find_wheels(["setuptools", "pip"], search_dirs)
- pythonpath = os.pathsep.join(wheels)
+ python_path = os.pathsep.join(wheels)
# PIP_FIND_LINKS uses space as the path separator and thus cannot have paths
# with spaces in them. Convert any of those to local file:// URL form.
@@ -936,7 +936,7 @@ def install_wheel(project_names, py_executable, search_dirs=None, download=False
try:
args = ["install", "--ignore-installed"]
if cert_file is not None:
- args += ["--cert", cert_file.name]
+ args += ["--cert", cert_file.name, "-vvv", "--no-cache"]
args += sys.argv[1:]
sys.exit(_main(args))
@@ -951,8 +951,8 @@ def install_wheel(project_names, py_executable, search_dirs=None, download=False
logger.indent += 2
env = {
- "PYTHONPATH": pythonpath,
- "JYTHONPATH": pythonpath, # for Jython < 3.x
+ "PYTHONPATH": python_path,
+ "JYTHONPATH": python_path, # for Jython < 3.x
"PIP_FIND_LINKS": findlinks,
"PIP_USE_WHEEL": "1",
"PIP_ONLY_BINARY": ":all:",