From 747e12351ededb5c1c86ececec076a73ab3cbbf9 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 28 Feb 2024 22:03:42 +0300 Subject: [PATCH] Feat(venv): Use `venv` if `virtualenv` is not available --- bkmk-venv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5