diff options
Diffstat (limited to 'installer/install-pyls.sh')
-rwxr-xr-x | installer/install-pyls.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/installer/install-pyls.sh b/installer/install-pyls.sh new file mode 100755 index 0000000..4b280fd --- /dev/null +++ b/installer/install-pyls.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +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 . |