Skip to content

Instantly share code, notes, and snippets.

@terrycojones
Created October 21, 2011 16:27
Show Gist options
  • Save terrycojones/1304261 to your computer and use it in GitHub Desktop.
Save terrycojones/1304261 to your computer and use it in GitHub Desktop.
def install_dependencies():
"""
Changes into the correct directory and pip installs the required packages.
"""
require('hosts', provided_by=[live])
<<<<<<< HEAD
run('cd %(path)s && bin/pip install -U -r requirements.txt' % env)
=======
# django
run('cd %(path)s; source bin/activate; pip install -U django==1.3' % env)
# httplib2
run('cd %(path)s; source bin/activate; pip install -U httplib2==0.6.0' %
env)
# fom
run('cd %(path)s; source bin/activate; pip install -U fom==0.9.5' % env)
# django_fluidinfo
run('cd %(path)s; source bin/activate; pip install -U '\
'django_fluidinfo==0.2.1' % env)
>>>>>>> d140fe8afc2f835088d98ed437d81b3d21f1c373
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment