summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-02-05 15:26:57 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-02-05 15:26:57 +0100
commita014fa0ccde01dbdbe314a45b176e932657b19e4 (patch)
treee49730194891b4694f6d9313b984c63f30bcb365 /utils
parenta99c65dd018f092a8b7adc6ff7a12961334b40f3 (diff)
downloadsearxng-a014fa0ccde01dbdbe314a45b176e932657b19e4.tar.gz
searxng-a014fa0ccde01dbdbe314a45b176e932657b19e4.zip
upload-pypi: twine is needed to upload to PyPi 'make upload-pypi'
To build & deploy packages on PyPi call make target: make upload-pypi - https://github.com/asciimoo/searx/issues/1829 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils')
-rw-r--r--utils/makefile.python4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/makefile.python b/utils/makefile.python
index 4aa9d6b49..789cc4c90 100644
--- a/utils/makefile.python
+++ b/utils/makefile.python
@@ -192,7 +192,7 @@ quiet_cmd_pytest = TEST $@
# .. _installing: https://packaging.python.org/tutorials/installing-packages/
#
quiet_cmd_pybuild = BUILD $@
- cmd_pybuild = $(PY_ENV_BIN)/$(PYTHON) setup.py \
+ cmd_pybuild = $(PY_ENV_BIN)/python setup.py \
sdist -d $(PYDIST) \
bdist_wheel --bdist-dir $(PYBUILD) -d $(PYDIST)
@@ -284,7 +284,7 @@ pyenv-python: pyenv-install
# https://github.com/pypa/twine
PHONY += upload-pypi
-upload-pypi: pyclean pybuild
+upload-pypi: pyclean pyenvinstall pybuild
@$(PY_ENV_BIN)/twine upload $(PYDIST)/*
.PHONY: $(PHONY)