Silence pip output

This commit is contained in:
jpic 2020-05-31 13:24:31 +02:00
parent e733694f2d
commit 879bb6f79e

View File

@ -19,7 +19,10 @@ class Pip(Action):
raise Exception('Could not find pip nor python') raise Exception('Could not find pip nor python')
# ensure pip module presence # ensure pip module presence
result = await target.exec(python, '-m', 'pip', raises=False) result = await target.exec(
python, '-m', 'pip',
raises=False, quiet=True
)
if result.rc != 0: if result.rc != 0:
if not os.path.exists('get-pip.py'): if not os.path.exists('get-pip.py'):
req = request.urlopen( req = request.urlopen(