Bug 1635481, workaround python and virtualenv, r=firefox-build-system-reviewers,rstewart

Differential Revision: https://phabricator.services.mozilla.com/D74207
This commit is contained in:
Axel Hecht 2020-05-07 15:38:14 +00:00
parent 0be2a79efd
commit 509e84e17b

View File

@ -503,6 +503,9 @@ class VirtualenvManager(object):
else:
thismodule = __file__
# __PYVENV_LAUNCHER__ confuses pip about the python interpreter
# See https://bugzilla.mozilla.org/show_bug.cgi?id=1635481
os.environ.pop('__PYVENV_LAUNCHER__', None)
args = [self.python_path, thismodule, 'populate', self.topsrcdir,
self.topobjdir, self.virtualenv_root, self.manifest_path]