Updates the Makefile to check where Python bin is
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,15 +1,17 @@
|
|||||||
.PHONY: all install_requirements download combine
|
.PHONY: all install_requirements download combine
|
||||||
|
|
||||||
|
PYTHON := $(shell which python3 2>/dev/null || which python)
|
||||||
|
|
||||||
all: install_requirements download combine
|
all: install_requirements download combine
|
||||||
|
|
||||||
install_requirements:
|
install_requirements:
|
||||||
pip install -r lib/requirements.txt
|
$(PYTHON) -m pip install -r lib/requirements.txt
|
||||||
|
|
||||||
download:
|
download:
|
||||||
python lib/download.py
|
$(PYTHON) lib/download.py
|
||||||
|
|
||||||
combine:
|
combine:
|
||||||
python lib/combine.py
|
$(PYTHON) lib/combine.py
|
||||||
|
|
||||||
validate:
|
validate:
|
||||||
python lib/validate.py
|
$(PYTHON) lib/validate.py
|
||||||
|
|||||||
Reference in New Issue
Block a user