add support for freebsd python2.7

This commit is contained in:
fengshaun 2020-07-28 17:23:16 -04:00
parent e1aab54cbc
commit 947f56607d

View File

@ -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)