This commit is contained in:
2017-02-01 21:18:38 -05:00
parent 032dc98f33
commit fd4e5d534c
3 changed files with 10 additions and 8 deletions
+4 -4
View File
@@ -84,12 +84,12 @@ variables. To activate them, simply create the variable in your shell and pipenv
will detect it.
- ``PIPENV_SHELL_COMPAT`` — Toggle from our default ``pipenv shell`` mode to classic.
(Suggested for use with pyenv)
(Suggested for use with pyenv).
- ``PIPENV_VENV_IN_PROJECT`` — Toggle for detecting a .venv in your directory and using
the local virtual environment over the default, ``pew``.
- ``PIPENV_VENV_IN_PROJECT`` — Toggle for detecting a ``.venv`` in your project directory
and using it over the default environment manager, ``pew``.
- ``PIPENV_COLORBLIND`` — Disable terminal colors.
- ``PIPENV_COLORBLIND`` — Disable terminal colors, for some reason.
- ``PIPENV_MAX_DEPTH`` — Set to an integer for the maximum number of directories to
search for a Pipfile.
-4
View File
@@ -51,10 +51,6 @@ if PIPENV_COLORBLIND:
# Disable warnings for Python 2.6.
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
# Prevent invalid shebangs with Homebrew-installed Python:
# https://bugs.python.org/issue22490
os.environ.pop('__PYVENV_LAUNCHER__', None)
project = Project()
+6
View File
@@ -1,5 +1,11 @@
import os
# Prevent invalid shebangs with Homebrew-installed Python:
# https://bugs.python.org/issue22490
os.environ.pop('__PYVENV_LAUNCHER__', None)
# Shell compatibility mode, for mis-configured shells.
PIPENV_SHELL_COMPAT = os.environ.get('PIPENV_SHELL_COMPAT')