Improve Makefile (#5105)

* Explicitly upgrade pip

* Include spacy-lookups-data in pex
This commit is contained in:
adrianeboyd 2020-03-08 13:24:19 +01:00 committed by GitHub
parent 993758c58f
commit 9dd98a4b27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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