From 81ae88c905c63ef5904e8986d6fa61efeb422830 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Thu, 1 Oct 2020 18:26:52 +0200 Subject: [PATCH] [Bootstrap] Add Python LSP packages --- .config/yadm/bootstrap | 2 +- org/config/installation.org | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 09146d8..7283be1 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -235,7 +235,7 @@ rustup component add rls rustup component add clippy printf "\n# Installing Python packages ##################################################\n\n" -pip install --user pyls-isort pyls-mypy pyls-black +pip install --user python-language-server[all] pyls-isort pyls-mypy pyls-black printf "\n# Setting up Chicken ##########################################################\n\n" chicken-install -s apropos chicken-doc diff --git a/org/config/installation.org b/org/config/installation.org index b314063..6f73934 100644 --- a/org/config/installation.org +++ b/org/config/installation.org @@ -698,11 +698,12 @@ Some packages will be needed from pip in order to get our Emacs setup correctly working. #+NAME: python-packages-table - | Package | Why | - |------------+-------------------------| - | pyls-isort | Import sortings for LSP | - | pyls-mypy | Mypy linter for LSP | - | pyls-black | Black plugin for pyls | + | Package | Why | + |-----------------------------+-------------------------| + | python-language-server[all] | Python LSP packages | + | pyls-isort | Import sortings for LSP | + | pyls-mypy | Mypy linter for LSP | + | pyls-black | Black plugin for pyls | #+NAME: python-packages-gen #+BEGIN_SRC emacs-lisp :var packages=python-packages-table[,0] @@ -710,8 +711,8 @@ (s-join " " packages)) #+END_SRC - #+RESULTS[d368dd4fa0df32b06cf27cb047ea3565777ffce6]: python-packages-gen - : pip install --user pyls-isort pyls-mypy pyls-black + #+RESULTS[cb6abaea9d7130a67569af2b4d1a545651bf29ab]: python-packages-gen + : pip install --user python-language-server[all] pyls-isort pyls-mypy pyls-black Let’s install them locally for our user. #+BEGIN_SRC fish :noweb yes