Skip to content

Commit

Permalink
#345 Update instructions to build Conda environment
Browse files Browse the repository at this point in the history
  • Loading branch information
sapetnioc authored Aug 23, 2023
1 parent ddb3337 commit 85fc541
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# casa-distro
Unified development environment for BrainVISA projects.

## Setup development environment
## Setup Conda development environment

```shell
sh <(curl -s https://raw.githubusercontent.com/brainvisa/casa-distro/conda/setup/conda/setup) {dir} {package}
Expand All @@ -16,6 +16,25 @@ package defined in brainvisa-cmake but here are the most useful:
- brainvisa-cati: components used internally by CATI members.
- brainvisa-web: components necessary to build brainvisa.info web site.

## Use a Conda development environment

The usage of a Conda based casa-distro environment uses the activation/deactiavtion system shipped with Conda. In order to "enter" the developpment environment (that means mainly setting environment variables such as PATH, etc.), on can use:

```
. {dir}/conda/bin/activate
```

It is possible de "go back" to the initial environment with the following command:

```
conda deactivate
```

## Software building

Once the development environment is activated, all commands from build tree are in `PATH` and can be used directly, including `bv_maker`. However, some projects are still using the `conda` branch that makes the `bv_maker sources` fail. Therefore, until all is merged in master branch, it is necessary to run separatly `bv_maker source` from other commands such as `bv_maker configure build`.


## Documentation

* on github, master branch: https://brainvisa.github.io/casa-distro/
Expand Down

0 comments on commit 85fc541

Please sign in to comment.