Browse Source

update fabfile

master
wes 7 years ago
parent
commit
1b8f200b84
  1. 6
      fabfile.py

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

Loading…
Cancel
Save