PIPENV_NOSPIN (v3.3.5)

This commit is contained in:
2017-02-02 13:49:56 -05:00
parent 05b5a78ac0
commit 655d529cfa
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
unreleased:
3.3.5:
- Disable spinner by setting PIPENV_NOSPIN=1 environment variable.
3.3.4:
- Fix PIPENV_VENV_IN_PROJECT mode.
+1 -1
View File
@@ -3,4 +3,4 @@
# //___/ / / / //___/ / // // / / || / /
# // / / // ((____ // / / ||/ /
__version__ = '3.3.4'
__version__ = '3.3.5'
+2 -2
View File
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
import contextlib
import codecs
import json
import os
@@ -49,9 +50,8 @@ click_completion.init()
if PIPENV_COLORBLIND:
crayons.disable()
# Disable spinner, for cleaner build logs.
# Disable spinner, for cleaner build logs (the unworthy).
if PIPENV_NOSPIN:
import contextlib
@contextlib.contextmanager
def spinner():
yield
+3 -3
View File
@@ -15,13 +15,13 @@ PIPENV_VENV_IN_PROJECT = os.environ.get('PIPENV_VENV_IN_PROJECT')
# No color mode, for unfun people.
PIPENV_COLORBLIND = os.environ.get('PIPENV_COLORBLIND')
# Disable spinner for better test and deploy logs.
# Disable spinner for better test and deploy logs (for the unworthy).
PIPENV_NOSPIN = os.environ.get('PIPENV_NOSPIN')
# User-configuraable max-depth for Pipfile searching.
# Note: +1 because of a bug in Pipenv.
# Note: +1 because of a temporary bug in Pipenv.
PIPENV_MAX_DEPTH = int(os.environ.get('PIPENV_MAX_DEPTH', '3')) + 1
# Use shell compatibility mode when using venv in project mode.
if PIPENV_VENV_IN_PROJECT:
PIPENV_SHELL_COMPAT = True
PIPENV_SHELL_COMPAT = True