Skip to content

Commit e85242a

Browse files
authored
Merge pull request #2846 from JacksonBurns/fix/nodefaults
Explicitly Forbid Default `conda` Channels
2 parents 6bdfa26 + 5db837e commit e85242a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

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

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ name: rmg_env
2626
channels:
2727
- conda-forge
2828
- rmg
29+
- nodefaults
2930
dependencies:
3031
# System-level dependencies - we could install these at the OS level
3132
# but by installing them in the conda environment we get better control

0 commit comments

Comments
 (0)