feat: add python installer

This commit is contained in:
AJ ONeal
2021-12-05 10:04:01 +00:00
parent 88fcdf968a
commit 30e20e736c
5 changed files with 257 additions and 0 deletions

18
python3/install.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# title: Python 3 (alias for python)
# homepage: https://webinstall.dev/python
# tagline: Alias for https://webinstall.dev/python
# alias: python
# description: |
# See https://webinstall.dev/python
set -e
set -u
function __redirect_alias_python() {
echo "'python@${WEBI_TAG:-stable}' is an alias for 'python@${WEBI_VERSION:-}'"
WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"}
curl -fsSL "$WEBI_HOST/python@${WEBI_VERSION:-}" | bash
}
__redirect_alias_python