knot-dns/python/knot_exporter/Makefile.am
Daniel Salzman 80b604f1df python: add knot_exporter
Based on https://github.com/salzmdan/knot_exporter,
commit 564a6daa3e17f68e410d25fe4b876d79e418d4d1
2023-08-21 16:07:35 +02:00

19 lines
321 B
Makefile

EXTRA_DIST = \
knot_exporter/__init__.py \
knot_exporter/knot_exporter.py \
pyproject.toml.in \
setup.py.in \
README.md
clean-local:
-rm -rf dist *.egg-info
dist: clean-local
@if hatchling -h &> /dev/null; then \
hatchling build; \
else \
python3 setup.py sdist; \
fi
upload:
twine upload dist/*