aboutsummaryrefslogtreecommitdiff
path: root/contrib/python/podman
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/podman
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/podman')
-rw-r--r--contrib/python/podman/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/python/podman/Makefile b/contrib/python/podman/Makefile
index 6ec4159f2..11a7568d1 100644
--- a/contrib/python/podman/Makefile
+++ b/contrib/python/podman/Makefile
@@ -4,6 +4,7 @@ PODMAN_VERSION ?= '0.0.4'
.PHONY: python-podman
python-podman:
+ 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