]> git.phdru.name Git - bookmarks_db.git/blobdiff - bkmk-venv
Fix(Robot): Stop splitting and un-splitting URLs
[bookmarks_db.git] / bkmk-venv
index f68a0a89ab9bf6c71e015f06fde53f11efee83dc..f36a2d5c65288d052fb78fcec3adba72886931d1 100644 (file)
--- a/bkmk-venv
+++ b/bkmk-venv
@@ -3,8 +3,9 @@
 
 if [ -z "$VIRTUAL_ENV" ]; then
     test -d .venv && . .venv/bin/activate || {
-        python3 -m virtualenv .venv &&
-        . .venv/bin/activate &&
-        pip install --compile --upgrade beautifulsoup4 lxml m_lib.full
+         { python3 -m virtualenv .venv || python3 -m venv .venv; } &&
+         . .venv/bin/activate &&
+         pip install --compile --upgrade beautifulsoup4 lxml m_lib.full \
+         "requests[socks]" requests-ftp
     } || exit 1
 fi