Merge pull request #148 from mathstuf/python2-virtualenv; r=rfk

makefile: use the system Python's virtualenv
pull/154/head
Ryan Kelly 6 years ago committed by GitHub
commit 2ed24ccad3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,6 +20,7 @@ notifications:
skip_join: false
install:
- pip install virtualenv
- make build
script:

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