blob: a90c451f2e8c369425984b0d895d935df0ba637d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
set -e
set -x
if [[ -n "$PYENV_VERSION" ]]; then
if [ ! -e "$HOME/.pyenv-xattr/.git" ]; then
if [ -e "$HOME/.pyenv-xattr" ]; then
rm -rf ~/.pyenv-xattr
fi
git clone https://github.com/yyuu/pyenv.git ~/.pyenv-xattr
fi
PYENV_ROOT="$HOME/.pyenv-xattr"
PATH="$PYENV_ROOT/bin:$PATH"
hash -r
eval "$(pyenv init -)"
hash -r
pyenv install --list
pyenv install -s $PYENV_VERSION
pip install wheel
fi
|