Skip to content
Snippets Groups Projects
Commit 355b0bbf authored by mads's avatar mads
Browse files
parents 86f9968d 5a1d779c
No related branches found
No related tags found
No related merge requests found
Pipeline #
# 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).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment