Newer
Older
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
43
44
# Update conda ```wetb_py3``` environment and ```wetb```
There are pre-configured miniconda/anaconda python environments installed on
Gorm and Jess at:
```
/home/python/miniconda3/envs/wetb_py3
```
Note that these refer to the home drives of Gorm and Jess respectively and thus
refer to two different directories (but are named the same).
Update the root Anaconda environment:
```
conda update --all
```
Activate the ```wetb_py3``` environment:
```
source activate wetb_py3
```
Update the ```wetb_py3``` environment:
```
conda update --all
```
Pull latest wetb changes and create re-distributable binary wheel package for
```wetb_py3```:
```
cd /home/MET/repositories/tooblox/WindEnergyToolbox
git pull
python setup.py bdist_wheel -d dist/
```
And install the wheel package (```.whl```)
```
pip install --no-deps -U dist/wetb-X.Y.Z.post0.devXXXXXXXX-cp35m-linux_x86_64.whl
```
The option ```--no-deps``` is used here to avoid pip installing possible newer
versions of packages that should be managed by conda. This only works when all
dependencies of ```wetb``` are met (which is assumed by default for the
```wetb_py3``` environment).