feat: install pyenv with python
This commit is contained in:
parent
f5da69e5e3
commit
a22b951035
3 changed files with 13 additions and 0 deletions
|
@ -23,3 +23,9 @@ fi
|
|||
unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
#endregion conda
|
||||
|
||||
#region pyenv
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
#endregion pyenv
|
||||
|
|
|
@ -83,3 +83,9 @@ PERL_LOCAL_LIB_ROOT="$HOME/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"
|
|||
PERL_MB_OPT="--install_base \"$HOME/perl5\""; export PERL_MB_OPT;
|
||||
PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; export PERL_MM_OPT;
|
||||
#endregion perl
|
||||
|
||||
#region pyenv
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
#endregion pyenv
|
||||
|
|
|
@ -9,6 +9,7 @@ func init() {
|
|||
Setup: func() {
|
||||
wrapper.ParuOnce("python")
|
||||
wrapper.ParuOnce("python-pip") // python package manager
|
||||
wrapper.ParuOnce("pyenv")
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue