From 0535a45bd97b2d032ee6cec3d892ad46af13b686 Mon Sep 17 00:00:00 2001 From: Devon Mackay Date: Tue, 10 Jul 2018 12:01:56 -0400 Subject: [PATCH] Check for pipenv and error out if not present --- script/include/run_setup | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/script/include/run_setup b/script/include/run_setup index fd026477..2ff7eb52 100755 --- a/script/include/run_setup +++ b/script/include/run_setup @@ -20,7 +20,11 @@ fi rm -rf ./node_modules if [ "${CREATE_VENV}" = "true" ]; then - install_pipenv + # Ensure pipenv is installed + if ! check_system_pip_for pipenv; then + echo "ERROR: pipenv is required but is not present" + exit 1 + fi create_virtual_environment fi