lang/python: assert when python isn't installed
This commit is contained in:
parent
00e2f2cc6f
commit
a9a04a6924
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
"This module requires (:tools lsp)")
|
||||
|
||||
(if (not (executable-find "python"))
|
||||
(warn! "Python isn't installed.")
|
||||
(assert! "Python isn't installed.")
|
||||
(unless (featurep! +lsp)
|
||||
(unless (zerop (shell-command "python -c 'import setuptools'"))
|
||||
(warn! "setuptools wasn't detected, which anaconda-mode requires"))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue