Try to debug tmpdir problem

This commit is contained in:
Matthew Honnibal 2020-09-01 01:13:09 +02:00
parent 61a71d8bcc
commit bff1640a75

View File

@ -45,8 +45,13 @@ dist/pytest.pex : $(WHEELHOUSE)/pytest-*.whl
$(WHEELHOUSE)/spacy-$(PYVER)-$(version).stamp : $(VENV)/bin/pex setup.py spacy/*.py* spacy/*/*.py*
mkdir -p $(WHEELHOUSE)
$(VENV)/bin/pip wheel . -w $(WHEELHOUSE)
$(VENV)/bin/pip wheel $(SPACY_EXTRAS) -w $(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)
touch $@