From 464afebcd1e904466fb8c3db61444663c406a87f Mon Sep 17 00:00:00 2001 From: Daniel Salzman <daniel.salzman@nic.cz> Date: Fri, 7 Dec 2018 10:42:08 +0100 Subject: [PATCH] python: add targets for packaging to Makefile --- python/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/python/Makefile.am b/python/Makefile.am index 629c2e41ef..464d4fa744 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -2,3 +2,12 @@ EXTRA_DIST = \ libknot/__init__.py.in \ libknot/control.py \ setup.py.in + +clean-local: + -rm -rf dist *.egg-info + +dist: clean-local + python3 setup.py sdist + +upload: + twine upload dist/* -- GitLab