Skip to content

Commit

Permalink
Update minimum Python version check in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster committed Oct 9, 2024
1 parent 0a5b96f commit b57a998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ ifeq (, $(shell which ${PYTHON} 2> /dev/null))
@printf "\033[38;5;220mFATAL\033[0m \033[38;5;196mPython not found (${PYTHON})\033[0m\n"
@exit 1
endif
ifneq (True, $(shell ${PYTHON} -c 'import sys; print(sys.version_info[:2] >= (3, 7))'))
@printf "\033[38;5;220mFATAL\033[0m \033[38;5;196mYou need at least Python 3.7\033[0m\n"
ifneq (True, $(shell ${PYTHON} -c 'import sys; print(sys.version_info[:2] >= (3, 12))'))
@printf "\033[38;5;220mFATAL\033[0m \033[38;5;196mYou need at least Python 3.12\033[0m\n"
@exit 1
endif
@${PYTHON} -m venv --prompt newdle .venv
Expand Down

0 comments on commit b57a998

Please # to comment.