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:
Henrik Lissner 2018-07-31 14:02:34 +02:00
parent 85af18a04d
commit 560d16d651
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 112 additions and 88 deletions

View file

@ -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))