1 # This is not a shell script; it shouldn't be executed,
2 # it should be sourced into the current shell.
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