Skip to content

Commit

Permalink
Cleanup pip install in get-sys-utils-cm
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Aug 4, 2023
1 parent 7192284 commit 01a474c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion cm-mlops/script/get-sys-utils-cm/run-arch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ ${CM_SUDO} ${CM_PACKAGE_TOOL} -Syu && \
xz \
zip

python3 -m pip install -r ${CM_TMP_CURRENT_SCRIPT_PATH}/requirements.txt ${CM_PYTHON_PIP_USER}
. ${CM_TMP_CURRENT_SCRIPT_PATH}/do_pip_installs.sh
test $? -eq 0 || exit $?
3 changes: 2 additions & 1 deletion cm-mlops/script/get-sys-utils-cm/run-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ ${CM_SUDO} ${CM_APT_TOOL} update && \
libgl1 \
libncurses5

python3 -m pip install -r ${CM_TMP_CURRENT_SCRIPT_PATH}/requirements.txt ${CM_PYTHON_PIP_USER}
. ${CM_TMP_CURRENT_SCRIPT_PATH}/do_pip_installs.sh
test $? -eq 0 || exit $?
3 changes: 2 additions & 1 deletion cm-mlops/script/get-sys-utils-cm/run-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ brew update && \
zlib \
python3

python3 -m pip install -r ${CM_TMP_CURRENT_SCRIPT_PATH}/requirements.txt ${CM_PYTHON_PIP_USER}
. ${CM_TMP_CURRENT_SCRIPT_PATH}/do_pip_installs.sh
test $? -eq 0 || exit $?
3 changes: 2 additions & 1 deletion cm-mlops/script/get-sys-utils-cm/run-rhel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ ${CM_SUDO} ${CM_PACKAGE_TOOL} update && \
xz \
zip

python3 -m pip install -r ${CM_TMP_CURRENT_SCRIPT_PATH}/requirements.txt ${CM_PYTHON_PIP_USER}
. ${CM_TMP_CURRENT_SCRIPT_PATH}/do_pip_installs.sh
test $? -eq 0 || exit $?
3 changes: 2 additions & 1 deletion cm-mlops/script/get-sys-utils-cm/run-sles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ ${CM_SUDO} ${CM_PACKAGE_TOOL} update && \
xz \
zip

python3 -m pip install -r ${CM_TMP_CURRENT_SCRIPT_PATH}/requirements.txt ${CM_PYTHON_PIP_USER}
. ${CM_TMP_CURRENT_SCRIPT_PATH}/do_pip_installs.sh
test $? -eq 0 || exit $?
4 changes: 3 additions & 1 deletion cm-mlops/script/get-sys-utils-cm/run-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,7 @@ ${CM_SUDO} ${CM_APT_TOOL} update && \
unzip \
libgl1-mesa-glx \
zlib1g-dev
test $? -eq 0 || exit $?

python3 -m pip install -r ${CM_TMP_CURRENT_SCRIPT_PATH}/requirements.txt ${CM_PYTHON_PIP_USER} ${CM_PYTHON_PIP_COMMON_EXTRA}
. ${CM_TMP_CURRENT_SCRIPT_PATH}/do_pip_installs.sh
test $? -eq 0 || exit $?

0 comments on commit 01a474c

Please sign in to comment.