Skip to content

Commit

Permalink
reckless: further verbosity/squelch of pip output
Browse files Browse the repository at this point in the history
  • Loading branch information
endothermicdev authored and cdecker committed Dec 6, 2022
1 parent 8653d12 commit 70fc702
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/reckless
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,11 @@ def _install_plugin(src: InstInfo) -> bool:
if src.deps is not None:
logging.debug(f'installing dependencies using {src.deps}')
procedure = install_methods[src.deps]
pip = Popen(procedure, cwd=plugin_path, stdout=PIPE)
# Verbose output requested.
if logging.root.level < logging.WARNING:
pip = Popen(procedure, cwd=plugin_path)
else:
pip = Popen(procedure, cwd=plugin_path, stdout=PIPE, stderr=PIPE)
pip.wait()
if pip.returncode == 0:
print('dependencies installed successfully')
Expand Down

0 comments on commit 70fc702

Please sign in to comment.