# This is not a shell script; it shouldn't be executed, # it should be sourced into the current shell. if [ -z "$VIRTUAL_ENV" ]; then test -d .venv && . .venv/bin/activate || { { 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