From ced96875f53bf7c6bc8d0131ec8115edaf817d41 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 20 Sep 2017 20:06:29 -0400 Subject: [PATCH] windows improvements Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 59a5f012..6fbe816a 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -88,9 +88,11 @@ if not PIPENV_HIDE_EMOJIS: INSTALL_LABEL = 'šŸ ' INSTALL_LABEL2 = crayons.white('☤ ', bold=True) + STARTING_LABEL = ' ' else: INSTALL_LABEL = ' ' INSTALL_LABEL2 = ' ' + STARTING_LABEL = ' ' # Enable shell completion. click_completion.init() @@ -645,11 +647,11 @@ def do_install_dependencies( # Load the lockfile if it exists, or if only is being used (e.g. lock is being used). if skip_lock or only or not project.lockfile_exists: if not bare: - click.echo(crayons.white(u'Installing dependencies (concurrently) from Pipfile…', bold=True)) + click.echo(crayons.white(u'Installing dependencies from Pipfile…', bold=True)) lockfile = split_vcs(project._lockfile) else: if not bare: - click.echo(crayons.white(u'Installing dependencies (concurrently) from Pipfile.lock…', bold=True)) + click.echo(crayons.white(u'Installing dependencies from Pipfile.lock…', bold=True)) with open(project.lockfile_location) as f: lockfile = split_vcs(json.load(f)) @@ -688,6 +690,9 @@ def do_install_dependencies( procs = [] # pip install: + if os.name == 'nt': + deps_list = progress.bar(deps_list, label=STARTING_LABEL if os.name != 'nt' else '') + for dep, ignore_hash in deps_list: # Install the module.