Skip to content

remove redundant install whl of fastdeploy #2726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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
Expand Down