Merge pull request #5785 from hugovk/replace-setup.py-dist-with-build

Replace 'setup.py sdist' with '-m build --sdist'
This commit is contained in:
Andrew Murray 2021-10-26 19:23:14 +11:00 committed by GitHub
commit ff1cb396d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: