Files
create/conda/setup-environment.sh
Pesc0 352fdc2d22 Add convenience scripts to install conda development environment. (#11386)
* 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>
2023-11-14 05:50:18 -03:00

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