From bdd6e9cf90c919f306a86637bd1618cca9e26599 Mon Sep 17 00:00:00 2001 From: Bryan Date: Tue, 14 Jan 2014 17:54:31 -0500 Subject: [PATCH] improved version management; adding vm-specific pip reqs that inherits prod. --- fabfile.py | 2 +- reqs/common.txt | 2 +- reqs/vmdev.txt | 10 ++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 reqs/vmdev.txt diff --git a/fabfile.py b/fabfile.py index 9fb33b6..e4148d6 100644 --- a/fabfile.py +++ b/fabfile.py @@ -185,7 +185,7 @@ def restart_gunicorn(): ####### Update Requirements @task def update_reqs(): - virtenv_exec('pip install -r {0}/reqs/prod.txt'.format(env.code_root)) + virtenv_exec('pip install --upgrade -r {0}/reqs/prod.txt'.format(env.code_root)) ####### Pull new code @task diff --git a/reqs/common.txt b/reqs/common.txt index a535c09..ca53bf9 100644 --- a/reqs/common.txt +++ b/reqs/common.txt @@ -1,4 +1,4 @@ -Django>=1.5.0,<=1.5.9 +Django>=1.5.0,<1.6.0 django-celery==3.0.21 django-compressor==1.2 Fabric==1.5.3 diff --git a/reqs/vmdev.txt b/reqs/vmdev.txt new file mode 100644 index 0000000..40351d3 --- /dev/null +++ b/reqs/vmdev.txt @@ -0,0 +1,10 @@ +-r prod.txt +django-debug-toolbar==0.9.4 +ipython==0.13.1 +ipdb==0.7 +django-extensions==1.0.3 # some extra debugging tools for manage.py +# Testing requirements +django-nose==1.1 +coverage==3.6 +selenium==2.38.4 +mock -- 2.25.1