mirror of https://github.com/explosion/spaCy.git
Avoid baking '-m spacy' into the pex by default
This commit is contained in:
parent
e977086a9a
commit
0f0870d45e
6
Makefile
6
Makefile
|
@ -21,6 +21,10 @@ 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
|
||||||
|
@ -28,7 +32,7 @@ dist/$(SPACY_BIN) : $(WHEELHOUSE)/spacy-$(PYVER)-$(version).stamp
|
||||||
-f $(WHEELHOUSE) \
|
-f $(WHEELHOUSE) \
|
||||||
--no-index \
|
--no-index \
|
||||||
--disable-cache \
|
--disable-cache \
|
||||||
-m spacy \
|
$(SPACY_PEX_MODULE)
|
||||||
-o $@ \
|
-o $@ \
|
||||||
$(package)==$(version) \
|
$(package)==$(version) \
|
||||||
$(SPACY_EXTRAS)
|
$(SPACY_EXTRAS)
|
||||||
|
|
Loading…
Reference in New Issue