Merge pull request #222 from fengshaun/master

Add support for Freebsd python2.7
This commit is contained in:
Ryan Kelly 2020-09-09 05:59:21 +10:00 committed by GitHub
commit a63c0fac18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 python2.7 python | head -n 1`
VIRTUALENV = $(SYSTEMPYTHON) -m virtualenv --python=$(SYSTEMPYTHON)
ENV = ./local
TOOLS := $(addprefix $(ENV)/bin/,flake8 nosetests)