Hide stdout from pip installs

This commit is contained in:
yuvipanda
2018-06-27 02:14:20 -07:00
parent aa522faf7f
commit ac7bd88105

View File

@@ -61,7 +61,7 @@ def ensure_pip_packages(prefix, packages):
abspath = os.path.abspath(prefix) abspath = os.path.abspath(prefix)
pip_executable = [os.path.join(abspath, 'bin', 'python'), '-m', 'pip'] pip_executable = [os.path.join(abspath, 'bin', 'python'), '-m', 'pip']
subprocess.run(pip_executable + [ subprocess.check_output(pip_executable + [
'install', 'install',
'--no-cache-dir', '--no-cache-dir',
] + packages) ] + packages)