Fix python version check in makefile, close #971
This commit is contained in:
parent
85e22089bd
commit
e957f840da
2
Makefile
2
Makefile
|
@ -53,7 +53,7 @@ pyc: | env
|
|||
${VENV_PYTHON} -m compileall ${packages}
|
||||
|
||||
reqs:
|
||||
ifneq ($(shell test $(PYTHON_VERSION_MINOR) -gt $(REQ_MINOR_VERSION); echo $$?),0)
|
||||
ifneq ($(shell test $(PYTHON_VERSION_MINOR) -ge $(REQ_MINOR_VERSION); echo $$?),0)
|
||||
$(error "Python 3.${REQ_MINOR_VERSION}+ required. Aborting.")
|
||||
endif
|
||||
ifndef NO_VENV
|
||||
|
|
Loading…
Reference in New Issue