aboutsummaryrefslogtreecommitdiff
path: root/contrib/python/pypodman/Makefile
diff options
context:
space:
mode:
authorAnders F Björklund <anders.f.bjorklund@gmail.com>2018-11-25 13:45:39 +0100
committerAnders F Björklund <anders.f.bjorklund@gmail.com>2018-11-25 13:50:19 +0100
commitf84452f411d2f5b04eb0fa4f4a9a56c1d24865b4 (patch)
treecc1526ad1ce38a617985715f278ef1f8e2618713 /contrib/python/pypodman/Makefile
parent78604c3c397068f70ccb5e8b4be4b9229e2072fb (diff)
downloadpodman-f84452f411d2f5b04eb0fa4f4a9a56c1d24865b4.tar.gz
podman-f84452f411d2f5b04eb0fa4f4a9a56c1d24865b4.tar.bz2
podman-f84452f411d2f5b04eb0fa4f4a9a56c1d24865b4.zip
Actually set version for podman module / pypodman
The environment variable wasn't set, giving 0.0.0 It is a still a problem if you use python3 to build, rather than make. You *need* to set $PODMAN_VERSION, or your module and packages won't have the version. Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
Diffstat (limited to 'contrib/python/pypodman/Makefile')
-rw-r--r--contrib/python/pypodman/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/python/pypodman/Makefile b/contrib/python/pypodman/Makefile
index cd0fcf1de..272145c5d 100644
--- a/contrib/python/pypodman/Makefile
+++ b/contrib/python/pypodman/Makefile
@@ -4,6 +4,7 @@ PODMAN_VERSION ?= '0.0.4'
.PHONY: python-pypodman
python-pypodman:
+ PODMAN_VERSION=$(PODMAN_VERSION) \
$(PYTHON) setup.py sdist bdist
.PHONY: lint
@@ -16,6 +17,7 @@ integration:
.PHONY: install
install:
+ PODMAN_VERSION=$(PODMAN_VERSION) \
$(PYTHON) setup.py install --root ${DESTDIR}
.PHONY: upload