diff --git a/modules/lang/python/README.org b/modules/lang/python/README.org index 2ae54de86..41b2aafb1 100644 --- a/modules/lang/python/README.org +++ b/modules/lang/python/README.org @@ -36,7 +36,7 @@ Adds Python support to Doom Emacs. + [[https://github.com/pythonic-emacs/anaconda-mode][anaconda-mode]]* + [[https://github.com/Wilfred/pyimport][pyimport]]* + [[https://github.com/paetzke/py-isort.el][py-isort]]* -+ [[https://melpa.org/#/nose][nose]]* ++ [[https://github.com/emacsattic/nose/][nose]]* + [[https://github.com/wbolster/emacs-python-pytest][python-pytest]]* + [[https://github.com/Wilfred/pip-requirements.el][pip-requirements]]* + [[https://github.com/pwalsh/pipenv.el][pipenv]]* diff --git a/modules/lang/python/doctor.el b/modules/lang/python/doctor.el index 546df9a8d..d1d2c08e4 100644 --- a/modules/lang/python/doctor.el +++ b/modules/lang/python/doctor.el @@ -4,10 +4,12 @@ (featurep! :tools lsp)) "This module requires (:tools lsp)") -(if (not (executable-find "python")) +(if (not (or (executable-find "python") + (executable-find "python3"))) (error! "Couldn't find python in your PATH") (unless (featurep! +lsp) - (unless (zerop (shell-command "python -c 'import setuptools'")) + (unless (or (zerop (shell-command "python -c 'import setuptools'")) + (zerop (shell-command "python3 -c 'import setuptools'"))) (warn! "setuptools wasn't detected, which anaconda-mode requires")))) (when (featurep! +pyenv)