Commit de3f1e9f authored by Hannes Diedrich's avatar Hannes Diedrich
Browse files

Cleaned up install script.

parent 056a795d
Pipeline #2607 passed with stages
in 16 minutes and 28 seconds
...@@ -22,13 +22,9 @@ echo "#### Installing ${conda_vers}.... ####" ...@@ -22,13 +22,9 @@ echo "#### Installing ${conda_vers}.... ####"
rm -f ${conda_inst_name} rm -f ${conda_inst_name}
echo "... Ready" echo "... Ready"
env_name=gts2_client echo "Installing necessary packages ..."
echo "Creating a conda environment named: ${env_name} ..."
export PATH=${inst_path}/${conda_vers}/bin/:$PATH export PATH=${inst_path}/${conda_vers}/bin/:$PATH
export PYTHONPATH=${inst_path}/${conda_vers}/lib/python3.6/site-packages/ 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 conda env update -f ${current_path}/gts2_client_conda_install.yml
echo "... Ready" echo "... Ready"
...@@ -42,17 +38,10 @@ echo "Congratulations! Miniconda and all necessary packages are installed" ...@@ -42,17 +38,10 @@ echo "Congratulations! Miniconda and all necessary packages are installed"
echo " " echo " "
echo "###############################" echo "###############################"
echo "In order to load your environment and run gts2_client, run the following commands in your bash shell:" 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 "Set the paths right (you can also add the following lines to your $HOME/.bashrc [recommended]) :"
echo "--------" echo "--------"
echo "export PATH=${inst_path}/${conda_vers}/bin/:$PATH" echo "export PATH=${inst_path}/${conda_vers}/bin/:$PATH"
echo "export PYTHONPATH=${inst_path}/${conda_vers}/lib/python3.6/site-packages/:$PYTHONPATH" echo "export PYTHONPATH=${inst_path}/${conda_vers}/lib/python3.6/site-packages/:$PYTHONPATH"
echo "export LD_LIBRARY_PATH=${inst_path}/${conda_vers}/lib" echo "export LD_LIBRARY_PATH=${inst_path}/${conda_vers}/lib"
echo "--------" echo "--------"
echo "### 2. ###" echo "###############################"
echo "Activate your conda environment:" \ No newline at end of file
echo "source activate ${env_name}"
echo " "
echo "... Now you can use the gts2_client ..."
echo " "
Markdown is supported
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