Skip to content

Commit

Permalink
build: fix reset-pyenv
Browse files Browse the repository at this point in the history
  • Loading branch information
dvp committed Sep 17, 2024
1 parent 93a5ed7 commit a18279c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/reset-pyenv
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ reset() {
pyenv virtualenv-delete -f "$env" && echo "Removed environment $env"
pyenv virtualenv "$last_python" "$env" && echo "Created environment $env"
pyenv local "$env"
eval "$(pyenv init -)"
pyenv rehash
pyenv shell "$env"
pyenv activate "$env"
python --version
poetry config --local virtualenvs.create false
poetry env info
poetry lock --no-update
Expand Down

0 comments on commit a18279c

Please sign in to comment.