fix virtualenv setup

This commit is contained in:
2023-03-18 17:25:20 +00:00
committed by idk
parent 2f768fd6d2
commit f544a40229
3 changed files with 14 additions and 3 deletions

View File

@@ -1,2 +1,7 @@
export venv_dir="env"
export venv="`which virtualenv-2.7 || which virtualenv`"
export spec=""
export venv="`which virtualenv-2.7`"
if [ x"$venv" = x ]; then
export venv="`which virtualenv`"
export spec="-p 2.7"
fi