install_autolog.sh 317 字节
Newer Older
H
Hui Zhang 已提交
1 2 3
#!/bin/bash

#install auto-log
H
Hui Zhang 已提交
4 5
echo "Install auto_log into default system path"
test -d AutoLog || git clone https://github.com/LDOUBLEV/AutoLog
H
Hui Zhang 已提交
6
if [ $? != 0 ]; then
H
Hui Zhang 已提交
7 8 9 10 11 12 13 14 15 16
    error_msg "Download auto_log failed !!!"
    exit 1
fi

pushd AutoLog
pip install -r requirements.txt
python setup.py install
popd

rm -rf AutoLog