mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Update makefile
This commit is contained in:
parent
bff1640a75
commit
027c82c068
16
Makefile
16
Makefile
|
@ -24,11 +24,7 @@ endif
|
||||||
|
|
||||||
|
|
||||||
dist/$(SPACY_BIN) : $(WHEELHOUSE)/spacy-$(PYVER)-$(version).stamp
|
dist/$(SPACY_BIN) : $(WHEELHOUSE)/spacy-$(PYVER)-$(version).stamp
|
||||||
tmp_dir = $(TMPDIR)
|
$(VENV)/bin/pex \
|
||||||
echo $(tmp_dir)
|
|
||||||
source $(VENV)/bin/activate
|
|
||||||
export TMPDIR=$(tmp_dir)
|
|
||||||
pex \
|
|
||||||
-f $(WHEELHOUSE) \
|
-f $(WHEELHOUSE) \
|
||||||
--no-index \
|
--no-index \
|
||||||
--disable-cache \
|
--disable-cache \
|
||||||
|
@ -44,14 +40,8 @@ dist/pytest.pex : $(WHEELHOUSE)/pytest-*.whl
|
||||||
chmod a+rx $@
|
chmod a+rx $@
|
||||||
|
|
||||||
$(WHEELHOUSE)/spacy-$(PYVER)-$(version).stamp : $(VENV)/bin/pex setup.py spacy/*.py* spacy/*/*.py*
|
$(WHEELHOUSE)/spacy-$(PYVER)-$(version).stamp : $(VENV)/bin/pex setup.py spacy/*.py* spacy/*/*.py*
|
||||||
mkdir -p $(WHEELHOUSE)
|
$(VENV)/bin/pip wheel . -w $(WHEELHOUSE)
|
||||||
tmp_dir = $(TMPDIR)
|
$(VENV)/bin/pip wheel $(SPACY_EXTRAS) -w $(WHEELHOUSE)
|
||||||
echo $(tmp_dir)
|
|
||||||
source $(VENV)/bin/activate
|
|
||||||
export TMPDIR=$(tmp_dir)
|
|
||||||
|
|
||||||
pip wheel . -w $(WHEELHOUSE)
|
|
||||||
pip wheel $(SPACY_EXTRAS) -w $(WHEELHOUSE)
|
|
||||||
|
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user