parent
4081633b94
commit
82120c5ca4
@ -0,0 +1,9 @@
|
|||||||
|
[build_ext]
|
||||||
|
debug=0
|
||||||
|
|
||||||
|
[metadata]
|
||||||
|
license_file = LICENSE
|
||||||
|
description-file = README.md
|
||||||
|
|
||||||
|
[magformat]
|
||||||
|
formatters=yapf
|
@ -1,17 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#install auto-log
|
#install auto-log
|
||||||
python -c "import auto_log"
|
echo "Install auto_log into default system path"
|
||||||
|
test -d AutoLog || git clone https://github.com/LDOUBLEV/AutoLog
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
info_msg "Install auto_log into default system path"
|
error_msg "Download auto_log failed !!!"
|
||||||
test -d AutoLog || git clone https://github.com/LDOUBLEV/AutoLog
|
exit 1
|
||||||
if [ $? != 0 ]; then
|
|
||||||
error_msg "Download auto_log failed !!!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
cd AutoLog
|
|
||||||
pip install -r requirements.txt
|
|
||||||
python setup.py install
|
|
||||||
cd ..
|
|
||||||
rm -rf AutoLog
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
pushd AutoLog
|
||||||
|
pip install -r requirements.txt
|
||||||
|
python setup.py install
|
||||||
|
popd
|
||||||
|
|
||||||
|
rm -rf AutoLog
|
||||||
|
Loading…
Reference in new issue