From d620fb6cc08a3a637040f65d3816712fd940eff6 Mon Sep 17 00:00:00 2001 From: Devon Mackay Date: Tue, 10 Jul 2018 14:55:26 -0400 Subject: [PATCH] Add pip update in venv --- script/include/run_setup | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/script/include/run_setup b/script/include/run_setup index 2ff7eb52..c4c691bb 100755 --- a/script/include/run_setup +++ b/script/include/run_setup @@ -15,6 +15,11 @@ if [ -z "${INSTALL_SASS+is_set}" ]; then INSTALL_SASS="false" fi +# If PIP_VERSION is not set, set it to "10.*" +if [ -z "${PIP_VERSION+is_set}" ]; then + PIP_VERSION="10.*" +fi + ## Main # Remove any existing node modules as part of initial app setup or reset rm -rf ./node_modules @@ -26,6 +31,7 @@ if [ "${CREATE_VENV}" = "true" ]; then exit 1 fi create_virtual_environment + pip_install "pip==${PIP_VERSION}" "--upgrade" fi if [ "${INSTALL_SASS}" = "true" ]; then