# HG changeset patch # User ymh # Date 1459782254 -7200 # Node ID 343b002e56261a7cbb5cb93462ef32d3fd8096f2 # Parent 51724e5b2bd9585b7474d7942b49777f2b244738 correct sync script diff -r 51724e5b2bd9 -r 343b002e5626 virtualenv/res/lib/lib_create_env.py --- a/virtualenv/res/lib/lib_create_env.py Wed Oct 28 11:17:49 2015 +0100 +++ b/virtualenv/res/lib/lib_create_env.py Mon Apr 04 17:04:14 2016 +0200 @@ -283,10 +283,10 @@ if res_source_key == 'local': if extra_env is None: extra_env = {} - extra_env["PIP_DOWNLOAD_CACHE"] = res_env.get_src_base_path("") args.insert(2, '-f') args.insert(3, res_env.get_src_base_path("")) args.insert(4, '--no-index') + args.insert(5, '--no-cache-dir') logger.notify("Install %s from %s with %s args %s " % (key,res_path,method, repr(args))) call_subprocess(args, cwd=os.path.abspath(tmp_dir), @@ -303,10 +303,10 @@ if res_source_key == 'local': if extra_env is None: extra_env = {} - extra_env["PIP_DOWNLOAD_CACHE"] = res_env.get_src_base_path("") args.insert(2, '-f') args.insert(3, res_env.get_src_base_path("")) args.insert(4, '--no-index') + args.insert(5, '--no-cache-dir') logger.notify("Install %s from %s with %s args %s " % (key,res_path,method, repr(args))) call_subprocess(args, cwd=os.path.abspath(tmp_dir),