Skip to content

Commit

Permalink
Fail with informative error if python2 isn't found
Browse files Browse the repository at this point in the history
- Will help users having issues similar to #352
  • Loading branch information
virtuald committed Apr 29, 2017
1 parent b5a7106 commit 283318e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
PYTHON2_CMD ?= $(shell command -v python2)
PYTHON2_CMD := $(if $(PYTHON2_CMD), $(PYTHON2_CMD), $(error "python2 not found in PATH (is it installed?)"))

PYTEST = py.test

PREFIX ?= /usr/local
Expand Down

0 comments on commit 283318e

Please sign in to comment.