-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_dev_env.sh
42 lines (37 loc) · 1.51 KB
/
setup_dev_env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# # needs updates, compare with https://github.com/alexgruber/scripts/blob/master/python/setup.sh
# ---------------------------------------------------------------
# Eventual prerequisits:
#
# Download and install miniconda
#
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p /data/leuven/317/vsc31786/miniconda
rm -f miniconda.sh
export PATH="/data/leuven/317/vsc31786/miniconda/bin:$PATH" (or add to .bashrc)
conda config --add channels conda-forge
conda create -y -n dev pandas scipy matplotlib basemap netCDF4 xarray
source activate dev
conda install python=2.7.15
pip install pyscaffold==v2.5.10
pip install multiprocessing
pip install pynetcf
pip install ease-grid
pip install f90nml
conda install -c conda-forge nco
# Download and install pycharm:
# wget http://download.jetbrains.com/python/pycharm-community-2017.3.4.tar.gz -O pycharm.tar.gz
# tar -xzf pycharm.tar.gz
# rm -f pycharm.tar.gz
# export PATH="$HOME/pycharm/bin:$PATH" (or add to .bashrc)
# Install and configure git:
# git config --global user.name "Alexander Gruber"
# git config --global user.email [email protected]
# git config --global core.excludesfile ~/.gitignore_global (add *.pyc !!!)
# # .pyc files must be untracked to be ignored! if not, use git rm -f filename.pyc
#
# Setup the GitHub SSH keys
#
# ---------------------------------------------------------------
# git clone [email protected]:alexgruber/pytesmo.git
# cd pytesmo
# python setup.py develop