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

updated installation script

parent 04777c47
Loading
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -29,16 +29,16 @@ if [ -f "requirements.txt" ]; then
fi

echo "===================== install package ====================="
if [ -f "install_local.sh" ]; then
  sh install_local.sh
else
#if [ -f "install_local.sh" ]; then
#  sh install_local.sh
#else
  # default install script
  rm -rf dist
  #python setup.py build_ext --inplace
#python setup.py install
rm -rf dist
python setup.py build_ext --inplace
python setup.py sdist
pip install dist/*.tar.gz --force-reinstall --no-deps
fi
#fi

echo "===================== show package info ====================="
echo " > pip show $JOB_NAME"