]> git.phdru.name Git - bookmarks_db.git/blob - bkmk-venv
Fix(Robot): Stop splitting and un-splitting URLs
[bookmarks_db.git] / bkmk-venv
1 # This is not a shell script; it shouldn't be executed,
2 # it should be sourced into the current shell.
3
4 if [ -z "$VIRTUAL_ENV" ]; then
5     test -d .venv && . .venv/bin/activate || {
6          { python3 -m virtualenv .venv || python3 -m venv .venv; } &&
7          . .venv/bin/activate &&
8          pip install --compile --upgrade beautifulsoup4 lxml m_lib.full \
9          "requests[socks]" requests-ftp
10     } || exit 1
11 fi