virtualenv: Update patch for 16.2.0 (#57533)

This commit is contained in:
Ethan Glasser-Camp 2019-03-13 18:58:52 -04:00 committed by Robert Schütz
parent da7d91017c
commit 2556b7bfad

View File

@ -52,7 +52,7 @@ index bcf3225..3530997 100755
site_filename_dst = change_prefix(site_filename, home_dir)
site_dir = os.path.dirname(site_filename_dst)
writefile(site_filename_dst, SITE_PY)
+ wrapper_path = join(prefix, "lib", py_version, "site-packages")
+ wrapper_path = join(prefix, "lib", PY_VERSION, "site-packages")
+ writefile(
+ join(site_dir, 'sitecustomize.py',),
+ "import sys; sys.path.append('%s')" % wrapper_path