From: Oleg Broytman Date: Wed, 28 Feb 2024 19:03:42 +0000 (+0300) Subject: Feat(venv): Use `venv` if `virtualenv` is not available X-Git-Tag: 5.1.0~1 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=747e12351ededb5c1c86ececec076a73ab3cbbf9;p=bookmarks_db.git Feat(venv): Use `venv` if `virtualenv` is not available --- diff --git a/bkmk-venv b/bkmk-venv index f68a0a8..751416f 100644 --- a/bkmk-venv +++ b/bkmk-venv @@ -3,7 +3,7 @@ if [ -z "$VIRTUAL_ENV" ]; then test -d .venv && . .venv/bin/activate || { - python3 -m virtualenv .venv && + { python3 -m virtualenv .venv || python3 -m venv .venv; } && . .venv/bin/activate && pip install --compile --upgrade beautifulsoup4 lxml m_lib.full } || exit 1