Skip to content

Commit 9ba2de0

Browse files
committed
build: use build
1 parent e7a4ba4 commit 9ba2de0

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ sterile: clean ## Remove all non-controlled content, ev
2626

2727

2828
kit: ## Make the source distribution.
29-
python setup.py sdist --formats=gztar
29+
python -m build
30+
python -m twine check dist/*
3031

3132
kit_upload: ## Upload the built distributions to PyPI.
3233
twine upload --verbose dist/*

howto.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- Copyright date in NOTICE.txt
1010
- Update README.rst with latest changes
1111
- Kits:
12-
$ make kit
12+
$ make clean kit
1313
$ make kit_upload
1414
- tag git
1515
- make a new gh release: https://github.com/nedbat/django_coverage_plugin/releases/new

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# To run tests, we just need tox.
22
tox >= 1.8
3+
build
34
twine

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,14 @@ commands =
5252
[testenv:pkgcheck]
5353
skip_install = true
5454
deps =
55+
build
5556
docutils
5657
check-manifest
5758
readme-renderer
5859
twine
5960

6061
commands =
61-
python setup.py -q sdist
62+
python -m build --config-setting=--quiet
6263
twine check dist/*
6364
check-manifest {toxinidir}
6465

0 commit comments

Comments
 (0)