zsh: functions: mkvenv: replace venv with virtualenv

virtualenv is faster than venv and also installs wheel by default
pull/6/head
bretello 2022-06-21 23:05:34 +02:00
parent a3f74bf816
commit 5f4b4538bb
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ mkvenv(){
return 1
fi
echo -n "Creating venv..." && python -m venv $@ .venv
echo -n "Creating venv..." && python -m virtualenv $@ .venv || echo -e "Failed to create virtualenv. Is virtualenv installed? Try:\n $ pip install virtualenv"
if [[ -z ${source_venv} ]]; then
echo -n " done. Enable? [Y/n]"
read source_venv