From 027c82c0686133cd25b80f498f1acc763fca3fb2 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 1 Sep 2020 01:22:54 +0200 Subject: [PATCH] Update makefile --- Makefile | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index d3b31de1d..c4e77d101 100644 --- a/Makefile +++ b/Makefile @@ -24,11 +24,7 @@ endif dist/$(SPACY_BIN) : $(WHEELHOUSE)/spacy-$(PYVER)-$(version).stamp - tmp_dir = $(TMPDIR) - echo $(tmp_dir) - source $(VENV)/bin/activate - export TMPDIR=$(tmp_dir) - pex \ + $(VENV)/bin/pex \ -f $(WHEELHOUSE) \ --no-index \ --disable-cache \ @@ -44,14 +40,8 @@ dist/pytest.pex : $(WHEELHOUSE)/pytest-*.whl chmod a+rx $@ $(WHEELHOUSE)/spacy-$(PYVER)-$(version).stamp : $(VENV)/bin/pex setup.py spacy/*.py* spacy/*/*.py* - mkdir -p $(WHEELHOUSE) - tmp_dir = $(TMPDIR) - echo $(tmp_dir) - source $(VENV)/bin/activate - export TMPDIR=$(tmp_dir) - - pip wheel . -w $(WHEELHOUSE) - pip wheel $(SPACY_EXTRAS) -w $(WHEELHOUSE) + $(VENV)/bin/pip wheel . -w $(WHEELHOUSE) + $(VENV)/bin/pip wheel $(SPACY_EXTRAS) -w $(WHEELHOUSE) touch $@