forked from mirrors/gecko-dev
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:
parent
80df2896d2
commit
38c14ef720
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue