]> git.pld-linux.org Git - packages/seamonkey.git/blob - seamonkey-system-virtualenv.patch
- updated to 2.53.18
[packages/seamonkey.git] / seamonkey-system-virtualenv.patch
1 --- seamonkey-2.53.14/python/mozbuild/mozbuild/virtualenv.py.orig       2022-08-24 21:55:13.000000000 +0200
2 +++ seamonkey-2.53.14/python/mozbuild/mozbuild/virtualenv.py    2022-11-25 22:13:52.882020703 +0100
3 @@ -73,8 +73,7 @@ class VirtualenvManager(object):
4      @property
5      def virtualenv_script_path(self):
6          """Path to virtualenv's own populator script."""
7 -        return os.path.join(self.topsrcdir, 'third_party', 'python',
8 -                            'virtualenv', 'virtualenv.py')
9 +        return '/usr/bin/virtualenv-2'
10  
11      @property
12      def bin_path(self):
13 @@ -448,7 +447,7 @@ class VirtualenvManager(object):
14                  handle_package(package)
15  
16              sitecustomize = os.path.join(
17 -                os.path.dirname(os.__file__), 'sitecustomize.py')
18 +                os.path.dirname(distutils.sysconfig.get_python_lib()), 'sitecustomize.py')
19              with open(sitecustomize, 'w') as f:
20                  f.write(
21                      '# Importing mach_bootstrap has the side effect of\n'
This page took 0.08717 seconds and 3 git commands to generate.