Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Kvieta1990 committed Oct 7, 2022
1 parent d7404ce commit 590af9a
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,15 @@ project.

Setup conda environment to install ADDIE into:
```
conda config --add channels neutrons
conda config --add channels mantid
conda config --add channels conda-forge
conda create -n addie-env
source activate addie-env
conda activate addie-env
```

Install ADDIE in the conda environment:
```
conda install -q -y -c conda-forge nexus==4.4.3
conda install -q -y -c mantid poco==1.7.3
conda install -q -y -c mantid mantidworkbench
conda install -q -y -c neutrons mantid-total-scattering-python-wrapper
conda install -q -y -c neutrons addie==${ADDIE_VERSION}
conda install -c neutrons addie
```

The install steps above have been found to create a reproducible install.
If not done in this order, conda can identify different configurations that are NOT in a working state.

NOTE: You may need to ensure some packages are not imported from the `defaults` channel.
As above, add them prior to installing ADDIE where the channel is set explicitly

## Uninstall

```
Expand Down Expand Up @@ -81,10 +68,14 @@ MANTIDPATH=/path/to/mantid/build/bin PATH=$MANTIDPATH:$PATH PYTHONPATH=$MANTIDPA
### Installation development environment using Conda
```
conda env create
source activate addie
python setup.py install
conda activate addie
pip install -e .
```

This will use the configuration in the `environment.yml` file for setting up the
`addie` conda environment. If one needs to change the conda environment name,
simply edit the `addie` to something else in the `environment.yml` file.

### Uninstall

```
Expand Down

0 comments on commit 590af9a

Please sign in to comment.