Skip to content

Commit ff1cb39

Browse files
authored
Merge pull request #5785 from hugovk/replace-setup.py-dist-with-build
Replace 'setup.py sdist' with '-m build --sdist'
2 parents 772f79b + 5057f0a commit ff1cb39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ release-test:
9696

9797
.PHONY: sdist
9898
sdist:
99-
python3 setup.py sdist --format=gztar
99+
python3 -m build --help > /dev/null 2>&1 || python3 -m pip install build
100+
python3 -m build --sdist
100101

101102
.PHONY: test
102103
test:

0 commit comments

Comments
 (0)