]> git.pld-linux.org Git - packages/seamonkey.git/commitdiff
use get_python_lib() to determine target for sitecustomize.py auto/th/seamonkey-2.53.10.2-1
authorJan Palus <atler@pld-linux.org>
Wed, 19 Jan 2022 00:46:21 +0000 (01:46 +0100)
committerJan Palus <atler@pld-linux.org>
Wed, 19 Jan 2022 08:40:16 +0000 (09:40 +0100)
follows mozjs78

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.104349 seconds and 4 git commands to generate.