From 14fde9b4ea8fbf16dfed9cd9c2144556c614e95f Mon Sep 17 00:00:00 2001 From: Alfonso Ruzafa Date: Wed, 4 Dec 2019 23:00:30 +0100 Subject: [PATCH] honor PIPENV_SPINNER environment variable --- news/4045.bugfix.rst | 1 + pipenv/environments.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 news/4045.bugfix.rst diff --git a/news/4045.bugfix.rst b/news/4045.bugfix.rst new file mode 100644 index 00000000..6558018c --- /dev/null +++ b/news/4045.bugfix.rst @@ -0,0 +1 @@ +Honor PIPENV_SPINNER environment variable diff --git a/pipenv/environments.py b/pipenv/environments.py index e59ed63a..763a61a3 100644 --- a/pipenv/environments.py +++ b/pipenv/environments.py @@ -151,6 +151,7 @@ if PIPENV_IS_CI: PIPENV_NOSPIN = True PIPENV_SPINNER = "dots" if not os.name == "nt" else "bouncingBar" +PIPENV_SPINNER = os.environ.get("PIPENV_SPINNER", PIPENV_SPINNER) """Sets the default spinner type. Spinners are identitcal to the node.js spinners and can be found at