| ... | ... | @@ -3,11 +3,4 @@ ENV_FOLDER = $(shell pwd)/.venv |
|
|
|
endif
|
|
|
|
|
|
|
|
.env:
|
|
|
|
ifeq ($(shell python -c 'import sys; print(sys.version_info[0:2])'),(2, 7))
|
|
|
|
@echo "--> Installing environment to $(ENV_FOLDER)"
|
|
|
|
python -m virtualenv $(ENV_FOLDER) |
|
|
\ No newline at end of file |
|
|
|
else
|
|
|
|
@echo "Balkan requires python version 2.7"
|
|
|
|
@echo "Current python version is: $(shell python -c 'import sys; print(sys.version_info[0:2])')"
|
|
|
|
exit 1
|
|
|
|
endif |
|
|
\ No newline at end of file |