aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Darthenay <baptiste@darthenay.fr>2017-01-03 15:11:40 +0100
committerBaptiste Darthenay <baptiste@darthenay.fr>2017-01-03 15:11:40 +0100
commit1cb14f33da02930f874f42054790ecbac931cf87 (patch)
tree87c3484c9691028965a158ce686c446c55ce6a2d
parente47b1b8fbb4edd150bfc45131c0e9f78493b20a6 (diff)
pyvenv to python3 -m venv
-rwxr-xr-xvenvworkon.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/venvworkon.sh b/venvworkon.sh
index 48cf308..9dcd85c 100755
--- a/venvworkon.sh
+++ b/venvworkon.sh
@@ -20,7 +20,7 @@ workon() {
# Creates virtual env if doesn't exists
if [ ! -e "$envdir" ]; then
- pyvenv $envdir
+ python3 -m venv $envdir
echo "Virtual env created in $envdir"
fi