]> git.pld-linux.org Git - packages/seamonkey.git/blobdiff - seamonkey-system-virtualenv.patch
use get_python_lib() to determine target for sitecustomize.py
[packages/seamonkey.git] / seamonkey-system-virtualenv.patch
index 81c7663fea8bfbc242a6b9281da88f8b17719c83..42a8aea8c1a34bdbc04f56f84d27674a77665ea2 100644 (file)
  
      @property
      def bin_path(self):
+@@ -424,7 +424,7 @@
+                 handle_package(package)
+             sitecustomize = os.path.join(
+-                os.path.dirname(os.__file__), 'sitecustomize.py')
++                os.path.dirname(distutils.sysconfig.get_python_lib()), 'sitecustomize.py')
+             with open(sitecustomize, 'w') as f:
+                 f.write(
+                     '# Importing mach_bootstrap has the side effect of\n'
This page took 0.093113 seconds and 4 git commands to generate.