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 "-------------------------"
|
||||||
echo "Updating your virtual env"
|
echo "Updating your virtual env"
|
||||||
echo "-------------------------"
|
echo "-------------------------"
|
||||||
|
if [ ! -f .env/bin/activate ]; then
|
||||||
|
echo "Something went wrong, no virtual environment found."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
source .env/bin/activate
|
source .env/bin/activate
|
||||||
echo "pip install in-progress. Please wait..."
|
echo "pip install in-progress. Please wait..."
|
||||||
${PYTHON} -m pip install --upgrade pip
|
${PYTHON} -m pip install --upgrade pip
|
||||||
|
Loading…
Reference in New Issue
Block a user