Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7c6f221

Browse files
committed
feat: config custom python version in make rules
1 parent 9dbd0b3 commit 7c6f221

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ install: install_hatch
33
install_hatch: install_pipx
44
pipx install hatch
55

6-
install_pipx:
6+
install_pipx: install_python_with_pyenv
77
pip install --user pipx && \
88
pipx ensurepath
9+
10+
install_python_with_pyenv:
11+
pyenv install 3.10.7 && \
12+
pyenv global 3.10.7

0 commit comments

Comments
 (0)