Skip to content

Commit e7490fe

Browse files
committed
add develop instructions about .condarc
1 parent 3ebdd4d commit e7490fe

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

documentation/source/users/rmg/installation/anacondaDeveloper.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,19 @@ Installation by Source Using Anaconda Environment for Unix-based Systems: Linux
8181

8282
source ~/.zshrc
8383

84+
NOTE: You may wish to forbid ``conda`` from installing from the Anaconda channels due to licensing restrictions.
85+
The ``environment.yml`` file already forbids using default channels, but you may further add the file ``.condarc`` to your RMG-Py directory (or modify the ``.condarc`` in your home directory) with the following contents before running the ``conda env create`` command:
86+
87+
channels:
88+
- conda-forge
89+
- nodefaults
90+
channel_priority: strict
91+
custom_channels:
92+
main: null
93+
r: null
94+
anaconda: null
95+
msys2: null
96+
8497
#. Activate conda environment ::
8598

8699
conda activate rmg_env

0 commit comments

Comments
 (0)