aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--installer/install-pyls.cmd16
1 files changed, 16 insertions, 0 deletions
diff --git a/installer/install-pyls.cmd b/installer/install-pyls.cmd
new file mode 100644
index 0000000..154f2d0
--- /dev/null
+++ b/installer/install-pyls.cmd
@@ -0,0 +1,16 @@
+@echo off
+
+cd %~dp0
+if exist "..\servers\pyls" rd /S /Q "..\servers\pyls"
+md "..\servers\pyls"
+cd "..\servers\pyls"
+
+python3 -m venv ./venv
+venv\bin\pip3 install python-language-server
+
+echo @echo off ^
+
+venv\bin\pyls ^
+
+> pyls.cmd
+