The command part and per-dependency parts.
} &&
. 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
--- /dev/null
+# 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
--- /dev/null
+# 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
--- /dev/null
+# 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
--- /dev/null
+# 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