From fbb66845f62c3417e5a2c7b2e82c03d7822511f1 Mon Sep 17 00:00:00 2001 From: Patryk Date: Sat, 16 Jul 2022 21:20:05 +0200 Subject: [PATCH 1/2] added more installation instructions to readme (#245) windows and linux installation instructions are now listed in readme --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 86a54238..8782e8e2 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,31 @@ If you get an error similar to `'install_requires' must be a string or list of s pip install -U setuptools ``` +### Windows and Linux installation + +You can install python lsp server on Windows using this conda command +``` +conda install -c conda-forge python-lsp-server +``` + +Python lsp server is available in repo of every major Linux distribution, and it is usually called `python-lsp-server` + +For example, here is how to install it in Debian and Debian-based distributions (E.g. Ubuntu, Pop!_OS, Linux Mint) + +``` +sudo apt-get install python-lsp-server +``` +or Fedora Linux + +``` +sudo dnf install python-lsp-server +``` + +Only Alpine Linux package is named differently, you can install it by typing this command in your terminal +``` +apk add py3-lsp-server +``` + ### 3rd Party Plugins Installing these plugins will add extra functionality to the language server: From bd67260a18cf7a84d9c50216691cab52d7c07398 Mon Sep 17 00:00:00 2001 From: Patryk <93675778+nougcat@users.noreply.github.com> Date: Thu, 4 Aug 2022 23:44:34 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Carlos Cordoba --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8782e8e2..3832ad1c 100644 --- a/README.md +++ b/README.md @@ -45,25 +45,28 @@ pip install -U setuptools ### Windows and Linux installation -You can install python lsp server on Windows using this conda command +If you use Anaconda/Miniconda, you can install `python-lsp-server` using this conda command + ``` conda install -c conda-forge python-lsp-server ``` -Python lsp server is available in repo of every major Linux distribution, and it is usually called `python-lsp-server` +Python-lsp-server is available in the repos of every major Linux distribution, and it is usually called `python-lsp-server`. For example, here is how to install it in Debian and Debian-based distributions (E.g. Ubuntu, Pop!_OS, Linux Mint) ``` sudo apt-get install python-lsp-server ``` + or Fedora Linux ``` sudo dnf install python-lsp-server ``` -Only Alpine Linux package is named differently, you can install it by typing this command in your terminal +Only on Alpine Linux the package is named differently. You can install it there by typing this command in your terminal: + ``` apk add py3-lsp-server ```