From 1b8f200b846bd46786d28f0bf1713999d5741372 Mon Sep 17 00:00:00 2001 From: wes Date: Sat, 6 May 2017 19:55:19 -0400 Subject: [PATCH] update fabfile --- fabfile.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fabfile.py b/fabfile.py index 0c58106..0eed19b 100644 --- a/fabfile.py +++ b/fabfile.py @@ -77,6 +77,12 @@ def buildVenv(): with prefix("source ~/tbookbuild/venv/bin/activate"): run("pip3 install -r requirements.txt") +@task +def buildTwoVenv(): + local("virtualenv -p $(which python2) ./venv") + with prefix("source ./venv/bin/activate"): + local("pip2 install -r ./requirements.txt") + @task def buildLocalVenv(): with lcd("~/TextbookEngine/build"):