setup.sh 249 字节
Newer Older
Y
yangyaming 已提交
1 2 3 4 5 6 7
#!/bin/bash

# install python dependencies
if [ -f 'requirements.txt' ]; then
    pip install -r requirements.txt
fi
if [ $? != 0 ]; then
Y
yangyaming 已提交
8
    echo "Install python dependencies failed !!!"
Y
yangyaming 已提交
9 10 11
    exit 1
fi

Y
yangyaming 已提交
12
echo "Install all dependencies successfully."