lang/python: add homebrew miniconda3 path
For `brew cask install miniconda`
This commit is contained in:
parent
6971bbdf9c
commit
80e53eee5d
1 changed files with 7 additions and 3 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue