From 7bc56f7f605a2b86d4a9f93a76a2c9e6f7de6393 Mon Sep 17 00:00:00 2001 From: Jesse London Date: Sun, 6 Oct 2019 17:14:55 -0500 Subject: [PATCH] correct "pip install --user" condition in development bootstrapper --- develop | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/develop b/develop index d76d6b0..eefd781 100755 --- a/develop +++ b/develop @@ -209,16 +209,15 @@ require venv \ # python libs +PIP_FLAGS="" + if icli::check_command pyenv; then if [ "$(pyenv version-name)" != "$VENV_NAME" ]; then PYTHON_EXE="${PYENV_ROOT:-$HOME/.pyenv}/versions/$VENV_NAME/bin/python" fi elif [ -f .env/bin/activate ]; then PYTHON_EXE=.env/bin/python -fi - -PIP_FLAGS="" -if [ -z "$VIRTUAL_ENV" ]; then +elif [ -z "$VIRTUAL_ENV" ]; then PIP_FLAGS="--user" fi