summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-02-16 15:55:07 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-02-16 18:29:40 +0100
commitc197c0e35e6eaa823d6ba8606df4e5a5c598a07b (patch)
tree4a62f8b0cca88dd4145e15f8f7ee84eb71a8a657
parent08e524fc35d382e51725c2778fc97615851b8bc2 (diff)
downloadsearxng-c197c0e35e6eaa823d6ba8606df4e5a5c598a07b.tar.gz
searxng-c197c0e35e6eaa823d6ba8606df4e5a5c598a07b.zip
[fix] remove twine from requirements-dev
SearXNG is a rolling release / we do not deploy packages on PyPi Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--Makefile1
-rw-r--r--docs/dev/reST.rst2
-rwxr-xr-xmanage15
-rw-r--r--requirements-dev.txt1
4 files changed, 1 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index fa0753fff..a5fae5ab1 100644
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,6 @@ MANAGE += gecko.driver
MANAGE += node.env node.env.dev node.clean
MANAGE += py.build py.clean
MANAGE += pyenv pyenv.install pyenv.uninstall
-MANAGE += pypi.upload pypi.upload.test
MANAGE += format.python
MANAGE += test.yamllint test.pylint test.pyright test.black test.pybabel test.unit test.coverage test.robot test.rst test.clean
MANAGE += themes.all themes.simple themes.simple.test pygments.less
diff --git a/docs/dev/reST.rst b/docs/dev/reST.rst
index ed7ecddde..e539617b7 100644
--- a/docs/dev/reST.rst
+++ b/docs/dev/reST.rst
@@ -292,7 +292,7 @@ content becomes smart.
files & folders origin :origin:`docs/dev/reST.rst` ``:origin:`docs/dev/reST.rst```
pull request :pull:`4` ``:pull:`4```
patch :patch:`af2cae6` ``:patch:`af2cae6```
- PyPi package :pypi:`searx` ``:pypi:`searx```
+ PyPi package :pypi:`httpx` ``:pypi:`httpx```
manual page man :man:`bash` ``:man:`bash```
intersphinx_
--------------------------------------------------------------------------------------------------
diff --git a/manage b/manage
index 712a41391..efb6c265a 100755
--- a/manage
+++ b/manage
@@ -109,8 +109,6 @@ pyenv.:
uninstall : uninstall developer installation
cmd ... : run command ... in virtualenv
OK : test if virtualenv is OK
-pypi.upload:
- Upload python packages to PyPi (to test use pypi.upload.test)
format.:
python : format Python code source using black
pygments.:
@@ -334,19 +332,6 @@ pyenv.uninstall() {
}
-pypi.upload() {
- py.clean
- py.build
- # https://github.com/pypa/twine
- pyenv.cmd twine upload "${PYDIST}"/*
-}
-
-pypi.upload.test() {
- py.clean
- py.build
- pyenv.cmd twine upload -r testpypi "${PYDIST}"/*
-}
-
format.python() {
build_msg TEST "[format.python] black \$BLACK_TARGETS"
pyenv.cmd black "${BLACK_OPTIONS[@]}" "${BLACK_TARGETS[@]}"
diff --git a/requirements-dev.txt b/requirements-dev.txt
index d5e9d8692..9c5db9a80 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -5,7 +5,6 @@ black==22.12.0
pylint==3.0.3
splinter==0.21.0
selenium==4.17.2
-twine==4.0.2
Pallets-Sphinx-Themes==2.1.1
Sphinx<=7.1.2; python_version == '3.8'
Sphinx==7.2.6; python_version > '3.8'