on master help sign in
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>

commita014fa0ccde01dbdbe314a45b176e932657b19e4 authorMarkus Heiser <markus.heiser@darmarit.de> dateWed 5 Feb 2020, 15:26 (7 years ago) parenta99c65d
2 files changed+3−2
requirements-dev.txt+1 utils/makefile.python+2−2
requirements-dev.txt+1
@@ -15,3 +15,4 @@ linuxdoc @ git+http://github.com/return42/linuxdoc.git
1515sphinx-jinja
1616sphinx-tabs
1717sphinxcontrib-programoutput
18+twine
utils/makefile.python+2−2
@@ -192,7 +192,7 @@ quiet_cmd_pytest = TEST $@
192192# .. _installing: https://packaging.python.org/tutorials/installing-packages/
193193#
194194quiet_cmd_pybuild = BUILD $@
195− cmd_pybuild = $(PY_ENV_BIN)/$(PYTHON) setup.py \
195+ cmd_pybuild = $(PY_ENV_BIN)/python setup.py \
196196 sdist -d $(PYDIST) \
197197 bdist_wheel --bdist-dir $(PYBUILD) -d $(PYDIST)
198198
@@ -284,7 +284,7 @@ pyenv-python: pyenv-install
284284
285285# https://github.com/pypa/twine
286286PHONY += upload-pypi
287−upload-pypi: pyclean pybuild
287+upload-pypi: pyclean pyenvinstall pybuild
288288 @$(PY_ENV_BIN)/twine upload $(PYDIST)/*
289289
290290.PHONY: $(PHONY)