Bug 1547730 - Add six to path when running configure. r=glandium

This is necessary for any attempt at @import('six') or doing any similar py2+py3 work
in the configure sandbox.

Differential Revision: https://phabricator.services.mozilla.com/D29604

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Justin Wood 2019-05-28 14:23:35 +00:00
parent 80df2896d2
commit 38c14ef720

View file

@ -14,6 +14,7 @@ import textwrap
base_dir = os.path.abspath(os.path.dirname(__file__)) base_dir = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, os.path.join(base_dir, 'python', 'mozbuild')) sys.path.insert(0, os.path.join(base_dir, 'python', 'mozbuild'))
sys.path.insert(0, os.path.join(base_dir, 'third_party', 'python', 'six'))
from mozbuild.configure import ( from mozbuild.configure import (
ConfigureSandbox, ConfigureSandbox,
TRACE, TRACE,