]> git.pld-linux.org Git - packages/firefox52-esr.git/blob - firefox-system-virtualenv.patch
- versioned Obsoletes
[packages/firefox52-esr.git] / firefox-system-virtualenv.patch
1 --- firefox-52.9.0esr/python/mozbuild/mozbuild/virtualenv.py~   2013-05-11 21:19:23.000000000 +0200
2 +++ firefox-52.9.0esr/python/mozbuild/mozbuild/virtualenv.py    2013-05-14 22:51:32.136719267 +0200
3 @@ -66,8 +66,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, 'python', 'virtualenv',
8 -            'virtualenv.py')
9 +        return '/usr/bin/virtualenv-2'
10  
11      @property
12      def bin_path(self):
13 @@ -390,15 +389,6 @@ class VirtualenvManager(object):
14              for package in packages:
15                  handle_package(package)
16  
17 -            sitecustomize = os.path.join(
18 -                os.path.dirname(os.__file__), 'sitecustomize.py')
19 -            with open(sitecustomize, 'w') as f:
20 -                f.write(
21 -                    '# Importing mach_bootstrap has the side effect of\n'
22 -                    '# installing an import hook\n'
23 -                    'import mach_bootstrap\n'
24 -                )
25 -
26          finally:
27              os.environ.pop('MACOSX_DEPLOYMENT_TARGET', None)
28  
This page took 0.038566 seconds and 3 git commands to generate.