From 5455adc4f63934e029a60afe4fd65b00198b99e1 Mon Sep 17 00:00:00 2001 From: sanj Date: Mon, 10 May 2010 19:00:24 +0530 Subject: [PATCH] requirements --- fabfile.py | 6 +++--- requirements.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fabfile.py b/fabfile.py index efd96a0..29cbced 100644 --- a/fabfile.py +++ b/fabfile.py @@ -33,8 +33,8 @@ def setup(): """ Setup a fresh virtualenv """ - local('bzr push --use-existing-dir bzr+ssh://%(host)s%(project_root)s'%env) - run('cd %(project_root)s; test -e .bzr/checkout || bzr checkout'%env) +# local('bzr push --use-existing-dir bzr+ssh://%(host)s%(project_root)s'%env) +# run('cd %(project_root)s; test -e .bzr/checkout || bzr checkout'%env) run('virtualenv %(project_root)s'%env) put(join('settings', '%(host)s.py'%env), join(env.project_root, env.project_name, 'local_settings.py')) update_requirements() @@ -42,5 +42,5 @@ def setup(): def deploy(): bzr_push() bzr_update() - virtual_run('python textb/manage.py syncdb;python textb/manage.py migrate'%env) + virtual_run('python ais/manage.py syncdb;python ais/manage.py migrate'%env) run('touch %(project_root)s/wsgi/django.wsgi'%env) diff --git a/requirements.txt b/requirements.txt index f1add57..a622e41 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ -e bzr+http://code.0xdb.org/python-oxlib/#egg=python-oxlib -e bzr+http://code.0xdb.org/python-oxweb/#egg=python-oxweb South +fabric