Skip to content

Commit

Permalink
Pick up python2.7 before generic python symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
fengshaun authored Sep 8, 2020
1 parent dcbc072 commit 2b8d19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2b8d19e

Please sign in to comment.