Files
create/conda/setup-environment.cmd
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

11 lines
467 B
Batchfile

:: create the conda environment as a subdirectory
call mamba env create -p .conda/freecad -f conda/conda-env.yaml
:: add the environment subdirectory to the conda configuration
call conda config --add envs_dirs %CONDA_PREFIX%/envs
call conda config --add envs_dirs %CD%/.conda
call conda config --set env_prompt '({name})'
:: install the FreeCAD dependencies into the environment
call mamba run --live-stream -n freecad mamba-devenv -f conda/environment.devenv.yml