From 947f56607d1036ec44bb4e6ed495eb84de426ee4 Mon Sep 17 00:00:00 2001 From: fengshaun Date: Tue, 28 Jul 2020 17:23:16 -0400 Subject: [PATCH 1/3] add support for freebsd python2.7 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0829aa0..d0d2476 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 | head -n 1` +SYSTEMPYTHON = `which python2 python python2.7 | head -n 1` VIRTUALENV = $(SYSTEMPYTHON) -m virtualenv --python=$(SYSTEMPYTHON) ENV = ./local TOOLS := $(addprefix $(ENV)/bin/,flake8 nosetests) From dcbc0722a411ead2320b4780c7deef4357b72968 Mon Sep 17 00:00:00 2001 From: fengshaun Date: Tue, 8 Sep 2020 06:19:21 +0000 Subject: [PATCH 2/3] 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) From 2b8d19e3b4523caebacd2b8a38218f07b0adf5a4 Mon Sep 17 00:00:00 2001 From: fengshaun Date: Tue, 8 Sep 2020 06:21:18 +0000 Subject: [PATCH 3/3] Pick up python2.7 before generic python symlink --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 508777d..603dbb6 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.7 python2 python | head -n 1` +SYSTEMPYTHON = `which python2 python2.7 python | head -n 1` VIRTUALENV = $(SYSTEMPYTHON) -m virtualenv --python=$(SYSTEMPYTHON) ENV = ./local TOOLS := $(addprefix $(ENV)/bin/,flake8 nosetests)