summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-01-10 17:05:37 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-01-10 17:05:37 +0100
commitdc544498d09ff031f707e19e6777f6fcc92d8342 (patch)
tree267e2a95f7948cb34735b41bcb79f916c147e50d
parentc2646df496565bbf66ecfa6baf9cedee1de416cf (diff)
downloadsearxng-dc544498d09ff031f707e19e6777f6fcc92d8342.tar.gz
searxng-dc544498d09ff031f707e19e6777f6fcc92d8342.zip
[mod] add target upload-pypi-test https://test.pypi.org/
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--utils/makefile.python4
1 files changed, 3 insertions, 1 deletions
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)