From: Daniel Salzman Date: Fri, 7 Dec 2018 09:42:08 +0000 (+0100) Subject: python: add targets for packaging to Makefile X-Git-Tag: v2.8.0~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=464afebcd1e904466fb8c3db61444663c406a87f;p=thirdparty%2Fknot-dns.git python: add targets for packaging to Makefile --- 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/*