adjust problem of package files with wheel, disable cache and wheel V00.04.03
authorymh <ymh.work@gmail.com>
Mon, 27 Jan 2020 16:37:38 +0100
changeset 124 f6052f1c2287
parent 123 5e315a1a118c
child 125 b0b357a93fbe
adjust problem of package files with wheel, disable cache and wheel
virtualenv/res/lib/lib_create_env.py
--- a/virtualenv/res/lib/lib_create_env.py	Mon Jan 27 15:59:29 2020 +0100
+++ b/virtualenv/res/lib/lib_create_env.py	Mon Jan 27 16:37:38 2020 +0100
@@ -292,7 +292,7 @@
             if sys.platform == 'win32':
                 args = [os.path.abspath(os.path.join(home_dir, 'Scripts', 'pip')), 'install', res_env.URLS[key][res_source_key]]
             else:
-                args = [os.path.abspath(os.path.join(home_dir, 'bin', 'pip')), 'install', res_env.URLS[key][res_source_key]]
+                args = [os.path.abspath(os.path.join(home_dir, 'bin', 'pip')), 'install', '--no-binary=:all:', '--no-cache-dir', res_env.URLS[key][res_source_key]]
             if option_str :
                 args.insert(4,option_str)
             call_subprocess(args,