Lines Matching full:conda
1 # Simple script used to easily search all packages in conda for their
4 # TODO update conda info syntax for different channels
8 echo "Please set CONDA_ROOT so that I know where to search for conda libraries"
9 echo "I expect CONDA_ROOT to be the path to the current conda environment."
10 echo "Also FYI I will probably mess up the current conda environment."
29 # We will run `conda install` and `conda uninstall` a lot, but we don't want
32 echo "Conda install/uninstall log for $PKG_NAME" > $VERBOSE_LOG
64 # Get all available packages with conda-search
67 # Split the output from conda search into an array, one line per package (plus
70 while read -r line; do conda_search_packages+=("$line"); done <<< "$(conda search $PKG_NAME $CONDA_…
72 ### Typical `conda search` output looks like
87 ### Typical `conda info` output looks like
121 # Look up each package in conda info, then install it and search the exported
147 …while read -r line; do pkg_dependencies+=("$line"); done <<< "$(conda info "$PKG_SPEC" $CONDA_CHAN…
149 # List all the listed dependencies in `conda info`
158 echo " No listed dependencies in conda-info" >> $VERBOSE_LOG
165 echo "Calling conda-uninstall on $PKG_NAME" >> $VERBOSE_LOG
166 echo "conda uninstall -y $PKG_NAME --quiet" >> $VERBOSE_LOG
167 conda uninstall -y "$PKG_NAME" --quiet >> $VERBOSE_LOG 2>&1
169 echo "Calling conda-install on $PKG_SPEC" >> $VERBOSE_LOG
170 echo "conda install -y $PKG_SPEC --quiet --no-deps $CONDA_CHANNEL" >> $VERBOSE_LOG
171 conda install -y "$PKG_SPEC" --quiet --no-deps $CONDA_CHANNEL >> $VERBOSE_LOG 2>&1