Commit 19597f04 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

updated installation script

parent 04777c47
Pipeline #163 passed with stages
in 12 seconds
...@@ -29,16 +29,16 @@ if [ -f "requirements.txt" ]; then ...@@ -29,16 +29,16 @@ if [ -f "requirements.txt" ]; then
fi fi
echo "===================== install package =====================" echo "===================== install package ====================="
if [ -f "install_local.sh" ]; then #if [ -f "install_local.sh" ]; then
sh install_local.sh # sh install_local.sh
else #else
# default install script # default install script
rm -rf dist #python setup.py install
#python setup.py build_ext --inplace rm -rf dist
#python setup.py install python setup.py build_ext --inplace
python setup.py sdist python setup.py sdist
pip install dist/*.tar.gz --force-reinstall --no-deps pip install dist/*.tar.gz --force-reinstall --no-deps
fi #fi
echo "===================== show package info =====================" echo "===================== show package info ====================="
echo " > pip show $JOB_NAME" echo " > pip show $JOB_NAME"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment