aboutsummaryrefslogtreecommitdiff
path: root/installer/install-pyls.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/install-pyls.sh')
-rwxr-xr-xinstaller/install-pyls.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/installer/install-pyls.sh b/installer/install-pyls.sh
index 4b280fd..fa61803 100755
--- a/installer/install-pyls.sh
+++ b/installer/install-pyls.sh
@@ -2,12 +2,7 @@
set -e
-server_dir="../servers/pyls"
-
cd $(dirname $0)
-[ -d $server_dir ] && rm -rf $server_dir
-mkdir $server_dir && cd $server_dir
-python3 -m venv ./venv
-./venv/bin/pip3 install python-language-server
-ln -s ./venv/bin/pyls .
+. ./pip3.sh
+pip_install pyls python-language-server