Use python -m virtualenv in fabfile

This commit is contained in:
Matthew Honnibal 2017-04-15 15:43:38 +02:00
parent a7626bd7fd
commit ed27ca7e21

2
fabfile.py vendored
View File

@ -14,7 +14,7 @@ VENV_DIR = path.join(PWD, ENV)
def env(lang='python2.7'): def env(lang='python2.7'):
if path.exists(VENV_DIR): if path.exists(VENV_DIR):
local('rm -rf {env}'.format(env=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(): def install():