Re-add install clause for Python
This commit is contained in:
parent
b849045d12
commit
ec94a44030
|
@ -36,6 +36,20 @@ info:
|
|||
- oo
|
||||
usage: popular
|
||||
|
||||
install:
|
||||
apt:
|
||||
- python3
|
||||
- python3-pip
|
||||
- black
|
||||
manual:
|
||||
- |
|
||||
install -d "${pkg}/opt/mspyls"
|
||||
install -d "${pkg}/usr/local/bin"
|
||||
wget "$(curl -fsSL "https://pvsc.blob.core.windows.net/python-language-server-stable?restype=container&comp=list&prefix=Python-Language-Server-linux-x64" | grep -Eo 'https://[^<]+\.nupkg' | tail -n1)"
|
||||
unzip -d "${pkg}/opt/mspyls" Python-Language-Server-linux-x64.*.nupkg
|
||||
chmod +x "${pkg}/opt/mspyls/Microsoft.Python.LanguageServer"
|
||||
ln -s "/opt/mspyls/Microsoft.Python.LanguageServer" "${pkg}/usr/local/bin/Microsoft.Python.LanguageServer"
|
||||
|
||||
repl: |
|
||||
python3 -u
|
||||
|
||||
|
|
Loading…
Reference in New Issue