Commit 9069ca2d authored by Hannes Diedrich's avatar Hannes Diedrich
Browse files

Test_install.

parent a65fbe50
Pipeline #2555 passed with stages
in 17 minutes and 29 seconds
......@@ -8,5 +8,9 @@ dependencies:
- scikit-image
- gdal
- numpy
- ipython
- pip
- pip:
- netcdf4
#prefix: /misc/fluo5/hannesd/test_client/miniconda3/
......@@ -13,28 +13,48 @@ cd ${inst_path}
#./Miniconda3-latest-Linux-x86_64.sh -p ${inst_path}/miniconda3 -b
#rm -f Miniconda3-latest-Linux-x86_64.sh
echo "#### Installing additional packages.... ####"
source ${inst_path}/miniconda3/bin/activate
echo "#+#+#+#+ sourced"
echo $(which python)
echo $PATH
echo "#+#+#+#+ "
conda --version
conda update -y conda
conda --version
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
echo "#+#+#+#+ updated"
echo $(which python)
echo $PATH
conda --version
echo "#+#+#+#+ "
conda env update -f ${current_path}/gts2_client_conda_install.yml
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
echo "#+#+#+#+ installed"
echo "#### Installing gts2_client.... ####"
cd ${current_path}
python setup.py install
#echo "#### Installing additional packages.... ####"
#source ${inst_path}/miniconda3/bin/activate
#echo "#+#+#+#+ sourced"
#
#echo $(which python)
#echo $PATH
#echo "#+#+#+#+ "
#conda --version
#conda update -y conda
#conda --version
#rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
#echo "#+#+#+#+ updated"
#
#echo $(which python)
#echo $PATH
#conda --version
#echo "#+#+#+#+ "
#conda env update -f ${current_path}/gts2_client_conda_install.yml
#rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
#echo "#+#+#+#+ installed"
conda_inst_name=Anaconda3-5.0.1-Linux-x86_64.sh
echo "#### Downloading Anaconda.... ####"
wget https://repo.continuum.io/archive/${conda_inst_name}
chmod 755 ${conda_inst_name}
echo "#### Installing Anaconda.... ####"
./${conda_inst_name} -p ${inst_path}/miniconda3 -b
rm -f ${conda_inst_name}
export PATH=${inst_path}/anaconda3/bin/:$PATH
#export PYTHONPATH=${inst_path}/anaconda3/lib/python3.6/site-packages/:$PYTHONPATH
env_name="hannes"
echo "conda create -n ${env_name}"
conda create -n ${env_name}
echo "source activate ${env_name}"
source activate ${env_name}
#echo "#### Installing gts2_client.... ####"
#cd ${current_path}
#python setup.py install
Supports Markdown
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