Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gts2
gts2_client
Commits
de3f1e9f
Commit
de3f1e9f
authored
Feb 16, 2018
by
Hannes Diedrich
Browse files
Cleaned up install script.
parent
056a795d
Pipeline
#2607
passed with stages
in 16 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
install_py_gts2_client.sh
View file @
de3f1e9f
...
...
@@ -22,13 +22,9 @@ echo "#### Installing ${conda_vers}.... ####"
rm
-f
${
conda_inst_name
}
echo
"... Ready"
env_name
=
gts2_client
echo
"Creating a conda environment named:
${
env_name
}
..."
echo
"Installing necessary packages ..."
export
PATH
=
${
inst_path
}
/
${
conda_vers
}
/bin/:
$PATH
export
PYTHONPATH
=
${
inst_path
}
/
${
conda_vers
}
/lib/python3.6/site-packages/
echo
"... Ready"
echo
"Installing necessary packages ..."
conda
env
update
-f
${
current_path
}
/gts2_client_conda_install.yml
echo
"... Ready"
...
...
@@ -42,17 +38,10 @@ echo "Congratulations! Miniconda and all necessary packages are installed"
echo
" "
echo
"###############################"
echo
"In order to load your environment and run gts2_client, run the following commands in your bash shell:"
echo
"###############################"
echo
"### 1. ###"
echo
"Set the paths right (you can also add the following lines to your
$HOME
/.bashrc [recommended]) :"
echo
"--------"
echo
"export PATH=
${
inst_path
}
/
${
conda_vers
}
/bin/:
$PATH
"
echo
"export PYTHONPATH=
${
inst_path
}
/
${
conda_vers
}
/lib/python3.6/site-packages/:
$PYTHONPATH
"
echo
"export LD_LIBRARY_PATH=
${
inst_path
}
/
${
conda_vers
}
/lib"
echo
"--------"
echo
"### 2. ###"
echo
"Activate your conda environment:"
echo
"source activate
${
env_name
}
"
echo
" "
echo
"... Now you can use the gts2_client ..."
echo
" "
echo
"###############################"
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment