Skip to content

Commit c0eaa9e

Browse files
committed
build(install): uv pip install --no-build-isolation is no longer needed
1 parent 7d2b538 commit c0eaa9e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

scripts/install.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ install_detectron2 () {
243243
cd "${COMPRESSAI_VISION_ROOT_DIR}"
244244
uv sync --inexact --group=models-detectron2
245245
cd "${MODELS_SOURCE_DIR}/detectron2"
246-
"${PIP[@]}" install --no-build-isolation .
246+
# "${PIP[@]}" install --no-build-isolation .
247247
fi
248248

249249
cd "${COMPRESSAI_VISION_ROOT_DIR}"
@@ -278,8 +278,9 @@ install_cython_bbox() {
278278
"${PIP[@]}" install cython numpy
279279
"${PIP[@]}" install -e .
280280
elif [[ "${PACKAGE_MANAGER}" == "uv" ]]; then
281-
"${PIP[@]}" install --no-build-isolation cython
282-
"${PIP[@]}" install --no-build-isolation .
281+
echo "cython-bbox is installed later during JDE installation."
282+
# "${PIP[@]}" install --no-build-isolation cython
283+
# "${PIP[@]}" install --no-build-isolation .
283284
fi
284285

285286
cd "${COMPRESSAI_VISION_ROOT_DIR}"
@@ -319,7 +320,7 @@ install_jde () {
319320
cd "${COMPRESSAI_VISION_ROOT_DIR}"
320321
uv sync --inexact --group=models-jde
321322
cd "${MODELS_SOURCE_DIR}/Towards-Realtime-MOT"
322-
"${PIP[@]}" install --no-build-isolation .
323+
# "${PIP[@]}" install --no-build-isolation .
323324
fi
324325

325326
cd "${COMPRESSAI_VISION_ROOT_DIR}"
@@ -356,7 +357,7 @@ install_yolox () {
356357
cd "${COMPRESSAI_VISION_ROOT_DIR}"
357358
uv sync --inexact --group=models-yolox
358359
cd "${MODELS_SOURCE_DIR}/yolox"
359-
"${PIP[@]}" install --no-build-isolation .
360+
# "${PIP[@]}" install --no-build-isolation .
360361
fi
361362

362363
cd "${COMPRESSAI_VISION_ROOT_DIR}"
@@ -397,7 +398,7 @@ install_mmpose () {
397398
cd "${COMPRESSAI_VISION_ROOT_DIR}"
398399
uv sync --inexact --group=models-mmpose
399400
cd "${MODELS_SOURCE_DIR}/mmpose"
400-
"${PIP[@]}" install --no-build-isolation .
401+
# "${PIP[@]}" install --no-build-isolation .
401402
fi
402403

403404
"${MIM[@]}" install "mmcv==2.0.1"

0 commit comments

Comments
 (0)