Doublecheck if virtualenv IS present
This commit is contained in:
parent
7d02580a2b
commit
cc4900f66c
4
setup.sh
4
setup.sh
@ -37,6 +37,10 @@ function updateenv() {
|
||||
echo "-------------------------"
|
||||
echo "Updating your virtual env"
|
||||
echo "-------------------------"
|
||||
if [ ! -f .env/bin/activate ]; then
|
||||
echo "Something went wrong, no virtual environment found."
|
||||
exit 1
|
||||
fi
|
||||
source .env/bin/activate
|
||||
echo "pip install in-progress. Please wait..."
|
||||
${PYTHON} -m pip install --upgrade pip
|
||||
|
Loading…
Reference in New Issue
Block a user