diff options
Diffstat (limited to 'python/knot_exporter/Makefile.am')
-rw-r--r-- | python/knot_exporter/Makefile.am | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/python/knot_exporter/Makefile.am b/python/knot_exporter/Makefile.am new file mode 100644 index 0000000..e234a08 --- /dev/null +++ b/python/knot_exporter/Makefile.am @@ -0,0 +1,19 @@ +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/* |