makefile: use the system Python's virtualenv

`virtualenv` on Fedora is now a Python3 tool. Without installing
Python3, there is no `virtualenv` tool. Instead, just rely on the
package being installed.
pull/148/head
Ben Boeckel 6 years ago
parent cc9e45f344
commit a4b4eda6d0

@ -4,7 +4,7 @@
# 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`
VIRTUALENV = virtualenv --python=$(SYSTEMPYTHON)
VIRTUALENV = $(SYSTEMPYTHON) -m virtualenv --python=$(SYSTEMPYTHON)
ENV = ./local
TOOLS := $(addprefix $(ENV)/bin/,flake8 nosetests)

Loading…
Cancel
Save