From: Bryan Date: Tue, 14 Jan 2014 22:54:31 +0000 (-0500) Subject: improved version management; adding vm-specific pip reqs that inherits prod. X-Git-Tag: release-20150131~265 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bdd6e9cf90c919f306a86637bd1618cca9e26599;p=oweals%2Fkarmaworld.git improved version management; adding vm-specific pip reqs that inherits prod. --- 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