From 2556b7bfad8341aa25fa4a3f9a2d4e4c8c85f67f Mon Sep 17 00:00:00 2001 From: Ethan Glasser-Camp Date: Wed, 13 Mar 2019 18:58:52 -0400 Subject: [PATCH] virtualenv: Update patch for 16.2.0 (#57533) --- .../python-modules/virtualenv/virtualenv-change-prefix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/virtualenv/virtualenv-change-prefix.patch b/pkgs/development/python-modules/virtualenv/virtualenv-change-prefix.patch index 934426bf6ca2..4378e00bb1fc 100644 --- a/pkgs/development/python-modules/virtualenv/virtualenv-change-prefix.patch +++ b/pkgs/development/python-modules/virtualenv/virtualenv-change-prefix.patch @@ -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