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"):