We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36d00ee commit 01477d7Copy full SHA for 01477d7
1 file changed
Makefile
@@ -70,6 +70,9 @@ venv:
70
if [ ! -z "${VIRTUAL_ENV}" ]; then \
71
echo "Found an activated Python virtual environment, exiting" && exit 1; \
72
fi
73
+ if [ -d .venv/ ]; then \
74
+ echo "Found an inactive Python virtual environment, please activate or nuke it" && exit 1; \
75
+ fi
76
if [ -z "${PYTHON}" ]; then \
77
echo "Creating virtual envirnoment in .venv/ for python3.10"; \
78
python3.10 -m venv --upgrade-deps --prompt . .venv; \
0 commit comments