if [ ! -e venv ];then
    python3 -m venv venv
    if venv/bin/pip -V | grep `pwd -P`; then
        venv/bin/pip install --upgrade pip
        find . -name requirements.txt | xargs -L 1 venv/bin/pip install -r
        venv/bin/pip list --outdated --format=json | jq -r '.[] | .name'|xargs -n1 venv/bin/pip install -U
    else
        echo Not running in the venv!
    fi
else
    echo Virtualenv already exists!
fi
