From 38c14ef720e3dbba6aaf29ef80c8234952308561 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Tue, 28 May 2019 14:23:35 +0000 Subject: [PATCH] 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 --- configure.py | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.py b/configure.py index 913dd35f9aef..b7fde089e199 100644 --- a/configure.py +++ b/configure.py @@ -14,6 +14,7 @@ import textwrap 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, 'third_party', 'python', 'six')) from mozbuild.configure import ( ConfigureSandbox, TRACE,