Compare commits

...

1 Commits

Author SHA1 Message Date
Shangming Cai b888a61f4c
Update build_wheel.sh package installation logic
Refactor package installation logic to prioritize pip command.
2026-04-22 11:40:57 +08:00
1 changed files with 1 additions and 4 deletions

View File

@ -170,11 +170,8 @@ rm -rf ${OUTPUT_DIR}/
mkdir -p ${OUTPUT_DIR}
echo "Installing required build packages"
if command -v python${PYTHON_VERSION} &>/dev/null; then
if command -v pip &>/dev/null; then
python${PYTHON_VERSION} -m pip install --upgrade pip build setuptools wheel auditwheel
elif command -v pip &>/dev/null; then
pip install --upgrade pip
pip install build setuptools wheel auditwheel
elif command -v uv &>/dev/null; then
uv pip install --upgrade pip
uv pip install build setuptools wheel auditwheel