mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user