Make TLJH_BOOTSTRAP_DEV take effect for reals

This commit is contained in:
yuvipanda
2018-07-12 16:55:51 -07:00
parent 8790f771a5
commit 56e573bd86

View File

@@ -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():