mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
PIPENV_NOSPIN (v3.3.5)
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
# //___/ / / / //___/ / // // / / || / /
|
||||
# // / / // ((____ // / / ||/ /
|
||||
|
||||
__version__ = '3.3.4'
|
||||
__version__ = '3.3.5'
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user