]> git.phdru.name Git - bookmarks_db.git/blob - bkmk-venv
Style: Fix `flake8` E501 line too long
[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 &&
7         . .venv/bin/activate &&
8         pip install --compile --upgrade beautifulsoup4 lxml m_lib.full
9     } || exit 1
10 fi