mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Add :tools lsp checks for +lsp flag
Also: - Reorganizes some :lang modules' packages.el file. - Adds setuptools check in lang/python - Adds javac check in lang/java - Removes the depends-on! macro
This commit is contained in:
@ -1,7 +1,14 @@
|
||||
;;; lang/python/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(unless (executable-find "python")
|
||||
(warn! "Python isn't installed."))
|
||||
(assert! (or (not (featurep! +lsp))
|
||||
(featurep! :tools lsp))
|
||||
"This module requires (:tools lsp)")
|
||||
|
||||
(if (not (executable-find "python"))
|
||||
(warn! "Python isn't installed.")
|
||||
(unless (featurep! +lsp)
|
||||
(unless (zerop (shell-command "python -c 'import setuptools'"))
|
||||
(warn! "setuptools wasn't detected, which anaconda-mode requires"))))
|
||||
|
||||
(when (featurep! +pyenv)
|
||||
(if (not (executable-find "pyenv"))
|
||||
|
Reference in New Issue
Block a user