--- firefox-52.9.0esr/python/mozbuild/mozbuild/virtualenv.py~ 2013-05-11 21:19:23.000000000 +0200 +++ firefox-52.9.0esr/python/mozbuild/mozbuild/virtualenv.py 2013-05-14 22:51:32.136719267 +0200 @@ -66,8 +66,7 @@ class VirtualenvManager(object): @property def virtualenv_script_path(self): """Path to virtualenv's own populator script.""" - return os.path.join(self.topsrcdir, 'python', 'virtualenv', - 'virtualenv.py') + return '/usr/bin/virtualenv-2' @property def bin_path(self): @@ -390,15 +389,6 @@ class VirtualenvManager(object): for package in packages: handle_package(package) - sitecustomize = os.path.join( - os.path.dirname(os.__file__), 'sitecustomize.py') - with open(sitecustomize, 'w') as f: - f.write( - '# Importing mach_bootstrap has the side effect of\n' - '# installing an import hook\n' - 'import mach_bootstrap\n' - ) - finally: os.environ.pop('MACOSX_DEPLOYMENT_TARGET', None)