summaryrefslogtreecommitdiffstats
path: root/python/libknot/Makefile.am
blob: 4e6abc42d139a009807126afa69c975873967082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
EXTRA_DIST =			\
	libknot/__init__.py.in	\
	libknot/control.py	\
	libknot/dname.py	\
	libknot/probe.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/*