Skip to content

Commit

Permalink
virtualenv: Update patch for 16.2.0 (NixOS#57533)
Browse files Browse the repository at this point in the history
  • Loading branch information
glasserc authored and dotlambda committed Mar 13, 2019
1 parent da7d910 commit 2556b7b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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
Expand Down

0 comments on commit 2556b7b

Please sign in to comment.