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}.... ####"
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
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