@ -1299,25 +1302,22 @@ Add some helpers to handle and understand macros
#+END_SRC
** Python
Systemwide following packages need to be installed:
- venv
The virtual environments need to have following modules installed:
- wheel (for some reason it isn't pulled by other packages, yet they complain about missing wheel)
- jedi
- epc
- pylint
- NEW: python-language-server[all]
- instead of [all] there are
for python-language-server see here: [[https://github.com/palantir/python-language-server][Link]]
Automatically start python-mode when opening a .py-file.
Not sure if python.el is better than python-mode.el.
See [[https://github.com/jorgenschaefer/elpy/issues/887][here]] for info about ~python-shell-completion-native-enable~.
The custom function is to run inferiour processes (do I really need that?), see [[https://emacs.stackexchange.com/questions/16361/how-to-automatically-run-inferior-process-when-loading-major-mode][here]].
Also limit the completion backends to those which make sense in Python.
*** Intro
Systemwide following packages need to be installed:
- venv
The virtual environments need to have following modules installed:
- wheel (for some reason it isn't pulled by other packages, yet they complain about missing wheel)
- jedi
- epc
- pylint
*** Python-Mode
Automatically start python-mode when opening a .py-file.
Not sure if python.el is better than python-mode.el.
See [[https://github.com/jorgenschaefer/elpy/issues/887][here]] for info about ~python-shell-completion-native-enable~.
The custom function is to run inferiour processes (do I really need that?), see [[https://emacs.stackexchange.com/questions/16361/how-to-automatically-run-inferior-process-when-loading-major-mode][here]].
Also limit the completion backends to those which make sense in Python.
#+BEGIN_SRC emacs-lisp
(use-package python
@ -1333,13 +1333,13 @@ Add some helpers to handle and understand macros
(setq python-shell-completion-native-enable nil)
)
#+END_SRC
First test for lsp-python.
Source python language server: [[https://github.com/palantir/python-language-server][Link]]