From dc544498d09ff031f707e19e6777f6fcc92d8342 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 10 Jan 2021 17:05:37 +0100 Subject: [PATCH] [mod] add target upload-pypi-test https://test.pypi.org/ Signed-off-by: Markus Heiser --- utils/makefile.python | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/makefile.python b/utils/makefile.python index 5d0837e00..345434384 100644 --- a/utils/makefile.python +++ b/utils/makefile.python @@ -243,8 +243,10 @@ pyenv-python: pyenvinstall # [2] https://github.com/pypa/pip/pull/1519 # https://github.com/pypa/twine -PHONY += upload-pypi +PHONY += upload-pypi upload-pypi-test upload-pypi: pyclean pyenvinstall pybuild @$(PY_ENV_BIN)/twine upload $(PYDIST)/* +upload-pypi-test: pyclean pyenvinstall pybuild + @$(PY_ENV_BIN)/twine upload -r testpypi $(PYDIST)/* .PHONY: $(PHONY)