Commit da264945 authored by Sebastian Wahl's avatar Sebastian Wahl

Merge branch 'bugfix-script-updated-packages' into 'master'

Bugfix script updated packages

See merge request !38
parents de97fe49 3e9e190d
......@@ -41,3 +41,4 @@ dependencies:
- spyder
- xarray
- ipykernel
- nc-time-axis
......@@ -42,3 +42,4 @@ dependencies:
- xarray
- ipykernel
- openblas=0.3.4
- nc-time-axis
......@@ -69,9 +69,9 @@ function install_conda_environment() {
cd $HOME
test -d miniconda3 && mv -v miniconda3 miniconda_$(date +%Y%m%d_%H%M%S)
if [[ "`uname`" == "Darwin" ]] ; then
curl https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o Miniconda3.sh
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o Miniconda3.sh
else
curl https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -o Miniconda3.sh
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o Miniconda3.sh
fi
bash Miniconda3.sh -b -p \${HOME}/miniconda3
rm -f Miniconda3.sh
......@@ -81,6 +81,10 @@ function install_conda_environment() {
# OSX client or host machines do not like /dev/stdin as it is used below
# conda env create -f /dev/stdin;
conda env create -f py3_std.yml
# on ursus7 I had to execute the following lines to make py3_std available in jupyterlab
source ${HOME}/miniconda3/bin/activate py3_std;
python -m ipykernel install --user --name py3_std --display-name "py3_std"
}
if [[ $# -lt 2 ]]; then
......@@ -181,6 +185,9 @@ elif [[ "$task" == "install" ]]; then
echo ' source ${HOME}/miniconda3/bin/activate base'
echo ' conda install jupyterlab nb_conda_kernels --yes'
echo " conda env create -f py3_std.yml "
echo ' # on ursus7 I had to execute the following lines to make py3_std available in jupyterlab'
echo ' source ${HOME}/miniconda3/bin/activate py3_std;'
echo ' python -m ipykernel install --user --name py3_std --display-name "py3_std"'
echo
echo " to perform a manual installation."
echo
......
name: weatherdata
channels:
- defaults
- conda-forge
dependencies:
- python=3
- numpy
- pandas
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