lang/python: add support for more env managers
+ Rewritten +conda support + Adds +pyenv and +pyvenv flags with support. + New +ipython flag to enable ipython REPL support + Added pipenv support. This is the new default, instead of pyenv, and isn't hidden behind a module flag because it is officially endorsed by python. Addresses #736
This commit is contained in:
parent
85af18a04d
commit
560d16d651
5 changed files with 112 additions and 88 deletions
|
@ -16,12 +16,10 @@ executable and packages."
|
|||
(message "Successfully changed conda home to: %s" (abbreviate-file-name home))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +python|add-conda-env-to-modeline ()
|
||||
(defun +python-conda-env ()
|
||||
"Add conda environment string to the major mode modeline segment."
|
||||
(setq mode-name
|
||||
(if conda-env-current-name
|
||||
(format "Py:conda:%s" conda-env-current-name)
|
||||
"Python")))
|
||||
(when conda-env-current-name
|
||||
(format "conda:%s" conda-env-current-name)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +python*anaconda-mode-bootstrap-in-remote-environments (&optional callback)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue