From 9dd98a4b2759f5231fcc3b2a09d16f27b79ab13b Mon Sep 17 00:00:00 2001 From: adrianeboyd Date: Sun, 8 Mar 2020 13:24:19 +0100 Subject: [PATCH] Improve Makefile (#5105) * Explicitly upgrade pip * Include spacy-lookups-data in pex --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 13c9026b7..cf96d6294 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ VENV := ./env$(PYVER) version := $(shell "bin/get-version.sh") dist/spacy-$(version).pex : wheelhouse/spacy-$(version).stamp - $(VENV)/bin/pex -f ./wheelhouse --no-index --disable-cache -m spacy -o $@ spacy==$(version) jsonschema + $(VENV)/bin/pex -f ./wheelhouse --no-index --disable-cache -m spacy -o $@ spacy==$(version) jsonschema spacy_lookups_data chmod a+rx $@ dist/pytest.pex : wheelhouse/pytest-*.whl @@ -22,7 +22,7 @@ wheelhouse/pytest-%.whl : $(VENV)/bin/pex $(VENV)/bin/pex : python$(PYVER) -m venv $(VENV) - $(VENV)/bin/python -m pip install pex wheel + $(VENV)/bin/pip install -U pip setuptools pex wheel .PHONY : clean test