blob: 4e49a7e3ef309f258714546525006ed5461ac2e7 [file] [log] [blame]
TamasBakaid38feb62019-02-28 09:06:19 +00001#!/bin/bash
2
3virtualenv --version > /dev/null || { echo 'Virtualenv command is not available, exiting' ; sleep 10; exit 1; }
4pip3 --version > /dev/null || { echo 'python3-pip package is not available, exiting' ; sleep 10; exit 1; }
5
6
7if [ -d ".env" ]; then
8 echo ".env is prepared"
9else
10 virtualenv --no-site-packages --distribute -p python3 .env
11fi
12
13source .env/bin/activate && pip3 install -r requirements.txt