This commit is contained in:
Matthew Honnibal 2020-09-15 13:36:26 +02:00
parent b7faa38960
commit 46e04d12db

View File

@ -21,18 +21,12 @@ ifndef WHEELHOUSE
override WHEELHOUSE = "./wheelhouse" override WHEELHOUSE = "./wheelhouse"
endif endif
ifndef SPACY_PEX_MODULE
# By default, don't execute a module, so we just run Python, not spaCy
override SPACY_PEX_MODULE = ""
endif
dist/$(SPACY_BIN) : $(WHEELHOUSE)/spacy-$(PYVER)-$(version).stamp dist/$(SPACY_BIN) : $(WHEELHOUSE)/spacy-$(PYVER)-$(version).stamp
$(VENV)/bin/pex \ $(VENV)/bin/pex \
-f $(WHEELHOUSE) \ -f $(WHEELHOUSE) \
--no-index \ --no-index \
--disable-cache \ --disable-cache \
$(SPACY_PEX_MODULE)
-o $@ \ -o $@ \
$(package)==$(version) \ $(package)==$(version) \
$(SPACY_EXTRAS) $(SPACY_EXTRAS)