lang/python: add homebrew miniconda3 path

For `brew cask install miniconda`
This commit is contained in:
Henrik Lissner 2018-11-15 00:54:22 -05:00
parent 6971bbdf9c
commit 80e53eee5d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -161,11 +161,14 @@
:config :config
;; The location of your anaconda home will be guessed from the following: ;; The location of your anaconda home will be guessed from the following:
;; ;;
;; + ANACONDA_HOME ;; + `conda-anaconda-home's default value:
;; + ~/.anaconda3 ;; + ANACONDA_HOME
;; + ~/.anaconda3
;; + ~/.anaconda ;; + ~/.anaconda
;; + ~/.miniconda ;; + ~/.miniconda
;; + ~/usr/bin/anaconda3 ;; + ~/usr/bin/anaconda3
;; + ~/usr/local/anaconda3
;; + ~/usr/local/miniconda3
;; ;;
;; If none of these work for you, you must set `conda-anaconda-home' ;; If none of these work for you, you must set `conda-anaconda-home'
;; explicitly. Once set, run M-x `conda-env-activate' to switch between ;; explicitly. Once set, run M-x `conda-env-activate' to switch between
@ -174,7 +177,8 @@
"~/.anaconda" "~/.anaconda"
"~/.miniconda" "~/.miniconda"
"/usr/bin/anaconda3" "/usr/bin/anaconda3"
"/usr/local/anaconda3") "/usr/local/anaconda3"
"/usr/local/miniconda3")
if (file-directory-p dir) if (file-directory-p dir)
return (setq conda-anaconda-home dir return (setq conda-anaconda-home dir
conda-env-home-directory dir)) conda-env-home-directory dir))