From 56e573bd8666b51a26197d47d4b9040aa7b8b70b Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Thu, 12 Jul 2018 16:55:51 -0700 Subject: [PATCH] Make TLJH_BOOTSTRAP_DEV take effect for reals --- bootstrap/bootstrap.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bootstrap/bootstrap.py b/bootstrap/bootstrap.py index 5c2299e..d9dbb3a 100644 --- a/bootstrap/bootstrap.py +++ b/bootstrap/bootstrap.py @@ -87,14 +87,14 @@ def pip_install(prefix, packages, editable=False): Set editable=True to add '--editable' to the pip install commandline. Very useful when doing active development """ - flags = '--no-cache-dir --upgrade' + flags = ['--no-cache-dir', '--upgrade'] if editable: - flags += '--editable' + flags.append('--editable') subprocess.check_output([ os.path.join(prefix, 'bin', 'python3'), '-m', 'pip', - 'install', '--no-cache-dir', - ] + packages) + 'install', + ] + flags + packages) def main():