mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-21 19:11:30 +01:00
zsh: functions: mkvenv: replace venv with virtualenv
virtualenv is faster than venv and also installs wheel by default
This commit is contained in:
parent
a3f74bf816
commit
5f4b4538bb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user