summaryrefslogtreecommitdiff
path: root/contrib/python/podman/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/python/podman/Makefile')
-rw-r--r--contrib/python/podman/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/python/podman/Makefile b/contrib/python/podman/Makefile
index 64239755f..6ec4159f2 100644
--- a/contrib/python/podman/Makefile
+++ b/contrib/python/podman/Makefile
@@ -1,5 +1,6 @@
PYTHON ?= $(shell command -v python3 2>/dev/null || command -v python)
DESTDIR ?= /
+PODMAN_VERSION ?= '0.0.4'
.PHONY: python-podman
python-podman:
@@ -17,6 +18,11 @@ integration:
install:
$(PYTHON) setup.py install --root ${DESTDIR}
+.PHONY: upload
+upload:
+ $(PODMAN_VERSION) $(PYTHON) setup.py sdist bdist_wheel
+ twine upload --repository-url https://test.pypi.org/legacy/ dist/*
+
.PHONY: clobber
clobber: uninstall clean