summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-01-26 06:38:53 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-01-26 06:38:53 -0500
commitf17bd4f01a4377d2c71dffb1999d79eba0c0b2ee (patch)
tree96dfc1da6446e4f0a65118adfdca04c555c02fa9
parent4c8c34cb642db78ba808d09cb46100a8131f93fe (diff)
downloadpython-coveragepy-git-f17bd4f01a4377d2c71dffb1999d79eba0c0b2ee.tar.gz
Combine kit download with kit check
-rw-r--r--Makefile5
-rw-r--r--howto.txt6
2 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ff5d3c99..4bc811e2 100644
--- a/Makefile
+++ b/Makefile
@@ -96,9 +96,12 @@ kit_local:
# don't go crazy trying to figure out why our new code isn't installing.
find ~/Library/Caches/pip/wheels -name 'coverage-*' -delete
-download_kits: ## Download the built kits from GitHub
+download_kits: ## Download the built kits from GitHub.
python ci/download_gha_artifacts.py
+check_kits: ## Check that dist/* are well-formed.
+ python -m twine check dist/*
+
build_ext:
python setup.py build_ext
diff --git a/howto.txt b/howto.txt
index 8a912833..6ecea7cf 100644
--- a/howto.txt
+++ b/howto.txt
@@ -46,11 +46,9 @@
- Kits:
- Manually trigger the kit GitHub Action
- https://github.com/nedbat/coveragepy/actions?query=workflow%3A%22Build+kits%22
- - Download built kits from GitHub Actions:
- $ make clean download_kits
+ - Download and check built kits from GitHub Actions:
+ $ make clean download_kits check_kits
- examine the dist directory, and remove anything that looks malformed.
- - check the dist directory:
- $ python -m twine check dist/*
- test the pypi upload:
$ make test_upload
- Update PyPI: