requirements.sh 396 Bytes
Newer Older
1
2
3
4
5
6
7
8
# 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

Carina Antunes's avatar
Carina Antunes committed
9
10
11
# check poetry installed
if [[ "$(poetry --version)" =~ "poetry, version" ]]; then
    echo poetry is installed
12
else
Carina Antunes's avatar
Carina Antunes committed
13
    echo poetry is not installed. Aborting.
14
15
    exit 1;
fi