* add remaining env updates Co-authored-by: Jacob Oursland <jacob.oursland@gmail.com> Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>
13 lines
451 B
Bash
Executable File
13 lines
451 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# create the conda environment as a subdirectory
|
|
mamba env create -p .conda/freecad -f conda/conda-env.yaml
|
|
|
|
# add the environment subdirectory to the conda configuration
|
|
conda config --add envs_dirs $CONDA_PREFIX/envs
|
|
conda config --add envs_dirs $(pwd)/.conda
|
|
conda config --set env_prompt '({name})'
|
|
|
|
# install the FreeCAD dependencies into the environment
|
|
mamba run --live-stream -n freecad mamba-devenv -f conda/environment.devenv.yml
|