Only create virtualenv on toplevel

This commit is contained in:
Oliver Falk
2023-02-14 21:43:16 +01:00
parent 6deea2758f
commit 95410f6e43

4
.env
View File

@@ -1,6 +1,8 @@
if [ ! -d .virtualenv ]; then
if [ ! "$(which virtualenv)" == "" ]; then
virtualenv -p python3 .virtualenv
if [ -f .env ]; then
virtualenv -p python3 .virtualenv
fi
fi
fi
if [ -f .virtualenv/bin/activate ]; then