Replace 'setup.py sdist' with '-m build --sdist'

This commit is contained in:
Hugo van Kemenade 2021-10-22 12:01:42 +03:00
parent 862be7cbcd
commit 5057f0afaf

View File

@ -96,7 +96,8 @@ release-test:
.PHONY: sdist
sdist:
python3 setup.py sdist --format=gztar
python3 -m build --help > /dev/null 2>&1 || python3 -m pip install build
python3 -m build --sdist
.PHONY: test
test: