feat: structure work

- split files/ into separate dirs
- rename scripts/ to script/, remove .sh extensions
- remove publish scripts, tf module, use github host
- remove unused install files
This commit is contained in:
Andrejus Kostarevas
2023-02-24 00:34:31 +00:00
parent f85a257b98
commit 50193eca51
44 changed files with 49 additions and 1088 deletions

24
script/install.d/10-pyenv.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/usr/bin/env bash
if ! bin_in_path "pyenv"; then
# see https://github.com/pyenv/pyenv/wiki/common-build-problems
pyenv_list_file="$INSTALL_DIR/10-pyenv-pkglist"
install_file "$pyenv_list_file"
# see https://github.com/pyenv/pyenv-installer
download_run \
"https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer" \
bash
fi
virtualenv_path="$(pyenv root)/plugins/pyenv-virtualenv"
if [ ! -d "$virtualenv_path" ]; then
git clone \
https://github.com/pyenv/pyenv-virtualenv.git \
$virtualenv_path
fi
eval "$(pyenv init --path)"
pyenv update
pyenv --version