summaryrefslogtreecommitdiff
path: root/requirements/Makefile
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2019-01-03 22:59:15 +0000
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2019-01-04 15:21:35 +0000
commitb97928375edb3685eb53357439ddc27d1911a9ab (patch)
tree004d51a519b5bb144a6332d4c697129f2cc2e085 /requirements/Makefile
parentbb7128869d0b44caeb3d49f913a0af9e1369e287 (diff)
downloadbuildstream-b97928375edb3685eb53357439ddc27d1911a9ab.tar.gz
CONTRIBUTING.rst: Add instructions to update requirements fileschandan/update-requirements-one-liner
Split the "The MANIFEST.in and setup.py" section in two: "Managing data files" and "Updating BuildStream's Python dependencies". Briefly explain the layout of `requirements` directory and add instructions to use the Makefile added in the last commit.
Diffstat (limited to 'requirements/Makefile')
-rw-r--r--requirements/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements/Makefile b/requirements/Makefile
index 4f966254f..c49a2e2d0 100644
--- a/requirements/Makefile
+++ b/requirements/Makefile
@@ -14,7 +14,7 @@ VENV_PIP = $(VENVDIR)/bin/pip
all: $(REQUIREMENTS_TXT)
%.txt: %.in
- $(eval VENVDIR := $(shell mktemp -d $$TMPDIR/bst-venv.XXXXXX))
+ $(eval VENVDIR := $(shell mktemp -d $(CURDIR)/.bst-venv.XXXXXX))
$(VENV) $(VENVDIR)
$(VENV_PIP) install -r $^
$(VENV_PIP) freeze -r $^ > $@