From ed27ca7e217a23fe48ff1a8f4a61fd380ee3174a Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 15 Apr 2017 15:43:38 +0200 Subject: [PATCH] Use python -m virtualenv in fabfile --- fabfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabfile.py b/fabfile.py index 588d42e9d..cfa80ead5 100644 --- a/fabfile.py +++ b/fabfile.py @@ -14,7 +14,7 @@ VENV_DIR = path.join(PWD, ENV) def env(lang='python2.7'): if path.exists(VENV_DIR): local('rm -rf {env}'.format(env=VENV_DIR)) - local('virtualenv -p {lang} {env}'.format(lang=lang, env=VENV_DIR)) + local('python -m virtualenv -p {lang} {env}'.format(lang=lang, env=VENV_DIR)) def install():