Remove doom-bootstrap system (will be replaced)
This commit is contained in:
parent
39c3d6aae4
commit
ce49f94bbe
9 changed files with 16 additions and 174 deletions
|
@ -1,23 +1,11 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/python/packages.el
|
||||
|
||||
;; requires: python jedi setuptools
|
||||
|
||||
(package! anaconda-mode)
|
||||
(package! nose)
|
||||
(package! pip-requirements)
|
||||
|
||||
(when (featurep! :completion company)
|
||||
(package! company-anaconda))
|
||||
|
||||
;;
|
||||
(def-bootstrap! python
|
||||
;; Since there are so many possible setups for a python environment (pyenv,
|
||||
;; virtualenv, etc), I'll leave it to you and only take care of installing
|
||||
;; dependencies available via pip.
|
||||
(unless (executable-find "python")
|
||||
(error "python isn't installed"))
|
||||
(unless (executable-find "pip")
|
||||
(error "pip isn't installed"))
|
||||
(when-let (pkgs (cl-remove-if
|
||||
(lambda (pkg) (zerop (shell-command (format "pip show %s" pkg))))
|
||||
'("jedi" "setuptools")))
|
||||
(sh "pip install jedi setuptools")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue