remove redundant install whl of fastdeploy (#2726)

* remove redundant install

* remove redundant install
This commit is contained in:
Yuanle Liu
2025-07-07 14:49:37 +08:00
committed by GitHub
parent 4e293e50fa
commit 91528f1af9

View File

@@ -163,17 +163,6 @@ function build_and_install() {
exit 1
fi
echo -e "${BLUE}[build]${NONE} ${GREEN}build fastdeploy wheel success${NONE}\n"
echo -e "${BLUE}[install]${NONE} installing fastdeploy..."
cd $DIST_DIR
find . -name "fastdeploy*.whl" | xargs ${python} -m pip install --force-reinstall --no-cache-dir
if [ $? -ne 0 ]; then
cd ..
echo -e "${RED}[FAIL]${NONE} install fastdeploy wheel failed"
exit 1
fi
echo -e "${BLUE}[install]${NONE} ${GREEN}fastdeploy install success${NONE}\n"
cd ..
}
function version_info() {
@@ -246,7 +235,7 @@ if [ "$BUILD_WHEEL" -eq 1 ]; then
echo -e "${GREEN}wheel saved under${NONE} ${RED}${BOLD}./dist${NONE}"
# install wheel
${python} -m pip install ./dist/fastdeploy*.whl
${python} -m pip install ./dist/fastdeploy*.whl --force-reinstall --no-cache-dir
echo -e "${GREEN}wheel install success${NONE}\n"
trap : 0