]> git.pld-linux.org Git - packages/seamonkey.git/blame - seamonkey-system-virtualenv.patch
use get_python_lib() to determine target for sitecustomize.py
[packages/seamonkey.git] / seamonkey-system-virtualenv.patch
CommitLineData
f1319b72
JB
1--- seamonkey-2.53.6/python/mozbuild/mozbuild/virtualenv.py.orig 2020-10-09 08:14:38.869199627 +0200
2+++ seamonkey-2.53.6/python/mozbuild/mozbuild/virtualenv.py 2020-10-09 08:30:19.570770076 +0200
6930f277 3@@ -66,8 +66,7 @@
c7d608a7
JB
4 @property
5 def virtualenv_script_path(self):
6 """Path to virtualenv's own populator script."""
6930f277
JB
7- return os.path.join(self.topsrcdir, 'third_party', 'python',
8- 'virtualenv', 'virtualenv.py')
ceb753a6 9+ return '/usr/bin/virtualenv-2'
c7d608a7
JB
10
11 @property
6930f277 12 def bin_path(self):
cea85b2c
JP
13@@ -424,7 +424,7 @@
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.039793 seconds and 4 git commands to generate.