Skip to content

Commit

Permalink
feat: config custom python version in make rules
Browse files Browse the repository at this point in the history
  • Loading branch information
leynier committed Sep 27, 2022
1 parent 9dbd0b3 commit 7c6f221
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ install: install_hatch
install_hatch: install_pipx
pipx install hatch

install_pipx:
install_pipx: install_python_with_pyenv
pip install --user pipx && \
pipx ensurepath

install_python_with_pyenv:
pyenv install 3.10.7 && \
pyenv global 3.10.7

0 comments on commit 7c6f221

Please sign in to comment.