From a1d0f746b006bb6e4e34727e60985d96a6bcf8d8 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 27 Sep 2017 10:13:27 -0400 Subject: [PATCH] add verbose mode to pip Fixes #727 --- pipenv/cli.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 388cdb46..3f133950 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -1300,6 +1300,8 @@ def pip_install( if '--hash' not in install_reqs: ignore_hashes = True + verbose_flag = '--verbose' if verbose else '' + if not ignore_hashes: install_reqs += ' --require-hashes' @@ -1309,13 +1311,14 @@ def pip_install( quoted_pip = which_pip(allow_global=allow_global) quoted_pip = shellquote(quoted_pip) - pip_command = '{0} install {4} {5} {3} {1} {2} --exists-action w'.format( + pip_command = '{0} install {4} {5} {6} {3} {1} {2} --exists-action w'.format( quoted_pip, install_reqs, ' '.join(prepare_pip_source_args([source])), no_deps, pre, - src + src, + verbose_flag ) if verbose: