From: Oleg Broytman Date: Sat, 8 Mar 2025 00:24:24 +0000 (+0300) Subject: Feat: Split `bkmk_db-venv` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=7ddfcc5bbf4e569f7a01d56ef3bf4d35f5ce1f75;p=bookmarks_db.git Feat: Split `bkmk_db-venv` The command part and per-dependency parts. --- diff --git a/bkmk_db-venv b/bkmk_db-venv index e02eb86..5246944 100644 --- a/bkmk_db-venv +++ b/bkmk_db-venv @@ -8,8 +8,6 @@ if [ -z "$VIRTUAL_ENV" ]; then } && . bkmk_db-venv/bin/activate && pip install --compile --upgrade setuptools \ - beautifulsoup4 lxml m_lib.full \ - "requests[socks]" "httpx[socks]" pycurl curl-cffi \ - aiohttp aiohttp-socks "aioftp[socks]" + beautifulsoup4 lxml m_lib.full } fi diff --git a/bkmk_db-venv-aio b/bkmk_db-venv-aio new file mode 100644 index 0000000..fa2836d --- /dev/null +++ b/bkmk_db-venv-aio @@ -0,0 +1,8 @@ +# This is not a shell script; it shouldn't be executed, +# it should be sourced into the current shell. + +if [ -z "$VIRTUAL_ENV" ]; then + . bkmk_db-venv && + pip install --compile --upgrade \ + aiohttp aiohttp-socks "aioftp[socks]" +fi diff --git a/bkmk_db-venv-curl b/bkmk_db-venv-curl new file mode 100644 index 0000000..1357e6a --- /dev/null +++ b/bkmk_db-venv-curl @@ -0,0 +1,8 @@ +# This is not a shell script; it shouldn't be executed, +# it should be sourced into the current shell. + +if [ -z "$VIRTUAL_ENV" ]; then + . bkmk_db-venv && + pip install --compile --upgrade \ + pycurl curl-cffi +fi diff --git a/bkmk_db-venv-httpx b/bkmk_db-venv-httpx new file mode 100644 index 0000000..3f54119 --- /dev/null +++ b/bkmk_db-venv-httpx @@ -0,0 +1,8 @@ +# This is not a shell script; it shouldn't be executed, +# it should be sourced into the current shell. + +if [ -z "$VIRTUAL_ENV" ]; then + . bkmk_db-venv && + pip install --compile --upgrade \ + "httpx[socks]" +fi diff --git a/bkmk_db-venv-requests b/bkmk_db-venv-requests new file mode 100644 index 0000000..4fba28b --- /dev/null +++ b/bkmk_db-venv-requests @@ -0,0 +1,8 @@ +# This is not a shell script; it shouldn't be executed, +# it should be sourced into the current shell. + +if [ -z "$VIRTUAL_ENV" ]; then + . bkmk_db-venv && + pip install --compile --upgrade \ + "requests[socks]" +fi