Skip to content

Commit 5057f0a

Browse files
committed
Replace 'setup.py sdist' with '-m build --sdist'
1 parent 862be7c commit 5057f0a

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)