зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1590344 - Don't unset PYTHONDONTWRITEBYTECODE anymore; r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D50041 --HG-- extra : rebase_source : 765b06658c8ee027bb7bba033bb58f90cfa91d8a extra : source : e2448f988af9e39a6957d44446b203c24759ea8c
This commit is contained in:
Родитель
b22848cd46
Коммит
e63ea2e660
|
@ -199,7 +199,6 @@ class VirtualenvManager(object):
|
||||||
write output to.
|
write output to.
|
||||||
"""
|
"""
|
||||||
env = dict(os.environ)
|
env = dict(os.environ)
|
||||||
env.pop('PYTHONDONTWRITEBYTECODE', None)
|
|
||||||
|
|
||||||
args = [python, self.virtualenv_script_path,
|
args = [python, self.virtualenv_script_path,
|
||||||
# Without this, virtualenv.py may attempt to contact the outside
|
# Without this, virtualenv.py may attempt to contact the outside
|
||||||
|
@ -379,8 +378,7 @@ class VirtualenvManager(object):
|
||||||
# configure or a mozconfig activated in the current shell. We trust
|
# configure or a mozconfig activated in the current shell. We trust
|
||||||
# Python is smart enough to find a proper compiler and to use the
|
# Python is smart enough to find a proper compiler and to use the
|
||||||
# proper compiler flags. If it isn't your Python is likely broken.
|
# proper compiler flags. If it isn't your Python is likely broken.
|
||||||
IGNORE_ENV_VARIABLES = ('CC', 'CXX', 'CFLAGS', 'CXXFLAGS', 'LDFLAGS',
|
IGNORE_ENV_VARIABLES = ('CC', 'CXX', 'CFLAGS', 'CXXFLAGS', 'LDFLAGS')
|
||||||
'PYTHONDONTWRITEBYTECODE')
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
old_target = os.environ.get('MACOSX_DEPLOYMENT_TARGET', None)
|
old_target = os.environ.get('MACOSX_DEPLOYMENT_TARGET', None)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче