aboutsummaryrefslogtreecommitdiff
path: root/installer/install-pyls.sh
blob: 4b280fd4900d5c8fcdfd70995b5cde02cae4b3bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 .