Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions pipenv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,9 @@ def abort(msg=""):
click.style("...", bold=True),
)
)
# TOOD: pass project settings to console.status
with console.status("Installing python...") as st:
with console.status(
"Installing python...", spinner=project.s.PIPENV_SPINNER
):
try:
c = installer.install(version)
except InstallerError as e:
Expand All @@ -416,7 +417,9 @@ def abort(msg=""):
click.echo(fix_utf8("Something went wrong..."), err=True)
click.secho(e.err, fg="cyan", err=True)
else:
st(environments.PIPENV_SPINNER_OK_TEXT.format("Success!"))
console.print(
environments.PIPENV_SPINNER_OK_TEXT.format("Success!")
)
# Print the results, in a beautiful blue...
click.secho(c.stdout, fg="cyan", err=True)
# Clear the pythonfinder caches
Expand Down