Fix pyenv
installation
This commit is contained in:
parent
5db2666bbe
commit
4ec1fdde19
1 changed files with 3 additions and 8 deletions
|
@ -1,10 +1,5 @@
|
|||
#!/bin/bash
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
curl https://pyenv.run | bash;
|
||||
{
|
||||
echo "";
|
||||
echo "# pyenv";
|
||||
echo 'export PYENV_ROOT="$HOME/.pyenv"';
|
||||
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"';
|
||||
echo 'eval "$(pyenv init -)"';
|
||||
echo 'eval "$(pyenv virtualenv-init -)"';
|
||||
} >> ~/.bashrc;
|
||||
. "../../Config/pyenv/install.sh";
|
||||
popd > /dev/null;
|
||||
|
|
Loading…
Reference in a new issue