summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-25 07:50:17 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-25 08:32:58 -0400
commit4da807c9a83aacaacefb67a1f9e12d312e6d1247 (patch)
tree3c6c0c907eadbc670c76ee94d38f38566c6768d6 /Makefile
parent52485aeb191df32ca5b8c255b4482de165174272 (diff)
downloadpython-coveragepy-git-4da807c9a83aacaacefb67a1f9e12d312e6d1247.tar.gz
build: avoid direct setup.py invocations
Also simplified the .pip files a bit.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 88534638..ae372fc4 100644
--- a/Makefile
+++ b/Makefile
@@ -73,20 +73,19 @@ metahtml: ## Produce meta-coverage HTML reports.
python igor.py combine_html
upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade
-upgrade: ## update the *.pip files with the latest packages satisfying *.in files
+upgrade: ## update the *.pip files with the latest packages satisfying *.in files
pip install -q -r requirements/pip-tools.pip
pip-compile --upgrade -o requirements/pip-tools.pip requirements/pip-tools.in
pip-compile --upgrade -o requirements/pip.pip requirements/pip.in
pip-compile --upgrade -o requirements/pytest.pip requirements/pytest.in
pip-compile --upgrade -o requirements/ci.pip requirements/ci.in
pip-compile --upgrade -o requirements/dev.pip requirements/dev.in
- pip-compile --upgrade -o requirements/wheel.pip requirements/wheel.in
pip-compile --upgrade -o doc/requirements.pip doc/requirements.in
# Kitting
kit: ## Make the source distribution.
- python setup.py sdist
+ python -m build
kit_upload: ## Upload the built distributions to PyPI.
twine upload --verbose dist/*