This commit is contained in:
parent
365e0feddc
commit
ce19d6a62c
24 changed files with 212 additions and 96 deletions
|
@ -25,14 +25,13 @@ remove() {
|
|||
}
|
||||
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
create_or_activate() {
|
||||
# shellcheck disable=SC1091
|
||||
if [ -d "${VENV_FOLDER}" ]; then
|
||||
source "${VENV_FOLDER}/bin/activate"
|
||||
else
|
||||
if [ ! -d "${VENV_FOLDER}" ]; then
|
||||
python3 -m venv "${VENV_FOLDER}"
|
||||
source "${VENV_FOLDER}/bin/activate"
|
||||
fi
|
||||
|
||||
source "${VENV_FOLDER}/bin/activate"
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue