From b35aa94f0ac609370a2327e3b0570aba3ee50bf8 Mon Sep 17 00:00:00 2001
From: jpic <jamespic@gmail.com>
Date: Sun, 13 Dec 2015 04:41:55 +0100
Subject: [PATCH] Upgrade deps to 0.0.5

---
 .openshift/action_hooks/deploy | 5 +++++
 setup.py                       | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/.openshift/action_hooks/deploy b/.openshift/action_hooks/deploy
index 9d3f2e2b..9ed4f181 100755
--- a/.openshift/action_hooks/deploy
+++ b/.openshift/action_hooks/deploy
@@ -9,6 +9,11 @@ source ${OPENSHIFT_HOMEDIR}app-root/runtime/dependencies/python/virtenv/bin/acti
 
 pip install -U pip
 
+yes | pip uninstall django-representatives django-representatives-votes
+pip install https://github.com/political-memory/django-representatives/archive/parltrack.tar.gz#egg=django-representatives
+pip install https://github.com/political-memory/django-representatives-votes/archive/parltrack.tar.gz#egg=django-representatives-votes
+pip install -Ue ${OPENSHIFT_REPO_DIR}
+
 # We don't have sentry yet
 # python ${OPENSHIFT_REPO_DIR}manage.py raven test
 
diff --git a/setup.py b/setup.py
index c42a279f..a2dd7171 100644
--- a/setup.py
+++ b/setup.py
@@ -17,8 +17,8 @@ setup(name='political-memory',
         'django-datetime-widget>=0.9,<1.0',
         'django-filter>=0.11,<0.12',
         'django-pure-pagination>=0.2,<0.3',
-        'django-representatives',
-        'django-representatives-votes',
+        'django-representatives>=0.0.6',
+        'django-representatives-votes>=0.0.7',
         'django-taggit>=0.17,<0.18',
         'django>=1.8,<1.9',
         'hamlpy>=0.82,<0.83',
-- 
GitLab