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"
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
$(VENV)/bin/pex \
-f $(WHEELHOUSE) \
--no-index \
--disable-cache \
$(SPACY_PEX_MODULE)
-o $@ \
$(package)==$(version) \
$(SPACY_EXTRAS)