Skip to content
Snippets Groups Projects
Commit 0e02ab6c authored by se_ml's avatar se_ml
Browse files

fix install_mldev.sh to ask for a full install, updated to v0.5.0.dev1

parent 40ec133e
Branches develop
No related merge requests found
Pipeline #249647 skipped with stage
......@@ -9,7 +9,8 @@ set -o pipefail
#set -x
ALL_EXTRAS="base,dvc,tensorboard,jupyter,bot,controller,collab"
PACKAGE_URL="https://gitlab.com/mlrep/mldev/-/package_files/98925097/download"
BASE_EXTRAS="base,jupyter"
PACKAGE_URL="https://gitlab.com/mlrep/mldev/-/package_files/110802011/download"
echo "(mldev) Downloading mldev package file $PACKAGE_URL ..."
# check if we have curl
......@@ -51,8 +52,13 @@ $PIP3 install --upgrade pip setuptools wheel
extras="$(IFS=, ; echo "$*")"
if [[ -z "$extras" ]]; then
echo "(mldev) No extras selected, installing $ALL_EXTRAS"
read -rp "(mldev) No extras set in parameters, install only $BASE_EXTRAS (Y) or all extras (n)? [Y|n]: " -n 1
echo
if [[ "$REPLY" =~ (^[Yy]$|^$) ]]; then
extras=${BASE_EXTRAS}
else
extras=${ALL_EXTRAS}
fi
fi
echo "(mldev) Installing mldev with the following extras: $extras"
$PIP3 install "mldev[$extras]@file://${PWD}/${PACKAGE_NAME}"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment