Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MldevSeminar1
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alammar saraa
MldevSeminar1
Commits
0e02ab6c
Commit
0e02ab6c
authored
1 year ago
by
se_ml
Browse files
Options
Downloads
Patches
Plain Diff
fix install_mldev.sh to ask for a full install, updated to v0.5.0.dev1
parent
40ec133e
Branches
develop
Branches containing commit
No related merge requests found
Pipeline
#249647
skipped with stage
Stage:
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install_mldev.sh
+8
-2
8 additions, 2 deletions
install_mldev.sh
with
8 additions
and
2 deletions
install_mldev.sh
+
8
−
2
View file @
0e02ab6c
...
...
@@ -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
}
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment