requirements.sh 396 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# check python version
if [[ "$(python --version)" =~ "Python ${PYTHON_VERSION}" ]]; then
    echo Python ${PYTHON_VERSION} is installed
else
    echo Python ${PYTHON_VERSION} is not installed. Aborting.
    exit 1;
fi

# check pipenv installed
if [[ "$(pipenv --version)" =~ "pipenv, version" ]]; then
    echo pipenv is installed
else
    echo pipenv is not installed. Aborting.
    exit 1;
fi