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
|
@ -1,12 +1,21 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/python/packages.el
|
||||
|
||||
;; requires: python jedi setuptools
|
||||
;; requires: python setuptools
|
||||
|
||||
(package! nose)
|
||||
(package! pip-requirements)
|
||||
|
||||
;; Environmet management
|
||||
(package! pipenv)
|
||||
(when (featurep! +pyenv)
|
||||
(package! pyenv-mode))
|
||||
(when (featurep! +pyvenv)
|
||||
(package! pyvenv-mode))
|
||||
(when (featurep! +conda)
|
||||
(package! conda))
|
||||
|
||||
;; Programming environment
|
||||
(when (package! anaconda-mode)
|
||||
(when (featurep! :completion company)
|
||||
(package! company-anaconda)))
|
||||
(when (featurep! +conda)
|
||||
(package! conda))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue