From dcbc0722a411ead2320b4780c7deef4357b72968 Mon Sep 17 00:00:00 2001 From: fengshaun Date: Tue, 8 Sep 2020 06:19:21 +0000 Subject: [PATCH] Pick up python2.7 before generic python symlink --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d0d2476..508777d 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # The following line prefers `python` as this will allow this to work # in CI (e.g. Travis CI) and put up the configured Python version: # SYSTEMPYTHON = `which python python3 python2 | head -n 1` -SYSTEMPYTHON = `which python2 python python2.7 | head -n 1` +SYSTEMPYTHON = `which python2.7 python2 python | head -n 1` VIRTUALENV = $(SYSTEMPYTHON) -m virtualenv --python=$(SYSTEMPYTHON) ENV = ./local TOOLS := $(addprefix $(ENV)/bin/,flake8 nosetests)