1
0
Fork 0

feat: install pyenv with python

This commit is contained in:
Kim, Jimin 2024-07-27 15:34:37 +09:00
parent f5da69e5e3
commit a22b951035
Signed by: pomp
GPG key ID: 2B516173EDD492EB
3 changed files with 13 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -9,6 +9,7 @@ func init() {
Setup: func() {
wrapper.ParuOnce("python")
wrapper.ParuOnce("python-pip") // python package manager
wrapper.ParuOnce("pyenv")
},
})
}