зеркало из https://github.com/mozilla/gecko-dev.git
Bug 802210 - Part 2: Unset PYTHONDONTWRITEBYTECODE when populating virtualenv; r=glandium
This commit is contained in:
Родитель
f480003140
Коммит
07e128a189
|
@ -193,7 +193,8 @@ class VirtualenvManager(object):
|
|||
# configure or a mozconfig activated in the current shell. We trust
|
||||
# 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.
|
||||
IGNORE_ENV_VARIABLES = ('CC', 'CXX', 'CFLAGS', 'CXXFLAGS', 'LDFLAGS')
|
||||
IGNORE_ENV_VARIABLES = ('CC', 'CXX', 'CFLAGS', 'CXXFLAGS', 'LDFLAGS',
|
||||
'PYTHONDONTWRITEBYTECODE')
|
||||
|
||||
try:
|
||||
old_target = os.environ.get('MACOSX_DEPLOYMENT_TARGET', None)
|
||||
|
|
Загрузка…
Ссылка в новой задаче