Skip to content

Commit 30b183c

Browse files
author
Gabriel Leclerc
committed
Update package distribution to use build
1 parent a1ea6cb commit 30b183c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

makefile

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package: .dev-dependencies
2-
rm -r ./dist ./build
3-
python setup.py sdist
4-
python setup.py bdist_wheel
2+
rm -r ./dist || true
3+
python -m build
54

65
upload-pypi: .dev-dependencies
76
twine upload --skip-existing dist/* --verbose
@@ -10,4 +9,4 @@ upload-testpypi: .dev-dependencies
109
twine upload --skip-existing --repository testpypi dist/* --verbose
1110

1211
.dev-dependencies:
13-
pip install wheel twine
12+
pip install build twine

0 commit comments

Comments
 (0)