Pick up python2.7 before generic python symlink

pull/222/head
fengshaun 4 years ago committed by GitHub
parent dcbc0722a4
commit 2b8d19e3b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save