15 lines
348 B
Plaintext
Executable File
15 lines
348 B
Plaintext
Executable File
if [ ! -e venv ];then
|
|
virtualenv venv
|
|
source venv/bin/activate
|
|
if pip -V | grep `pwd -P`; then
|
|
pip install --upgrade pip
|
|
pip_upgrade_all
|
|
find . -name requirements.txt | xargs -L 1 pip install -r
|
|
deactivate
|
|
else
|
|
echo Could not activate venv!
|
|
fi
|
|
else
|
|
echo Virtualenv already exists!
|
|
fi
|