]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
python: add targets for packaging to Makefile
authorDaniel Salzman <daniel.salzman@nic.cz>
Fri, 7 Dec 2018 09:42:08 +0000 (10:42 +0100)
committerDaniel Salzman <daniel.salzman@nic.cz>
Wed, 12 Dec 2018 19:23:09 +0000 (20:23 +0100)
python/Makefile.am

index 629c2e41ef4097e94f3ad640277543181f11225a..464d4fa744bacebcccf274f3b234602ab92299ca 100644 (file)
@@ -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/*