Skip to content

Commit a9173bd

Browse files
committed
install script: don't install vision models in editable mode by default
1 parent 4b5c2a7 commit a9173bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/install_uv.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ install_detectron2 () {
140140
# '!' egating set -e when patching has been applied already
141141
! patch -p1 --forward <${SCRIPT_DIR}/0001-detectron2-fpn-bottom-up-separate.patch
142142

143-
uv pip install --no-build-isolation -e .
143+
uv pip install --no-build-isolation .
144144

145145
# back to project root
146146
cd ${SCRIPT_DIR}/..
@@ -199,7 +199,7 @@ install_jde () {
199199
# '!' negating set -e when patching has been applied already
200200
! patch -p1 --forward <../0001-compatible-with-numpy-1.24.1.patch
201201

202-
uv pip install --no-build-isolation -e .
202+
uv pip install --no-build-isolation .
203203

204204

205205
# clone
@@ -285,7 +285,7 @@ install_yolox () {
285285
# miminum requirments - no onnx, etc.
286286
cp ${SCRIPT_DIR}/yolox_requirements.txt requirements.txt
287287

288-
uv pip install --no-build-isolation -e .
288+
uv pip install --no-build-isolation .
289289
if [ "${DOWNLOAD_WEIGHTS}" == "True" ]; then
290290
if [ -z "$(ls -A ${MODELS_WEIGHT_DIR}/yolox)" ]; then
291291
echo
@@ -327,7 +327,7 @@ install_mmpose () {
327327
cd ${MODELS_SOURCE_DIR}/mmpose
328328
# miminum requirments - no onnx, etc.
329329
uv pip install --no-build-isolation -r requirements/build.txt -r requirements/runtime.txt
330-
uv pip install --no-build-isolation -e .
330+
uv pip install --no-build-isolation .
331331

332332
uv run --no-sync mim install mmdet==3.1.0
333333

0 commit comments

Comments
 (0)