Guest User

Untitled

a guest
Dec 12th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. def install_pips(upgrade):
  2. with prefix("source {virtualenv_dir}/bin/activate".format(virtualenv_dir=virtualenv_dir)):
  3. command = "pip install --requirement={deploy_dir}/build/pip-freeze-prod.txt".format(deploy_dir=deploy_dir)
  4. if upgrade: command += " --upgrade"
  5. run(command)
Add Comment
Please, Sign In to add comment