diff --git a/.openshift/action_hooks/deploy b/.openshift/action_hooks/deploy index 9d3f2e2b0296181471328e8bfa2b24da0ac48b68..9ed4f181db43853c8975a5c763a807eb24811277 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 c42a279fc6ebfb55abbfd43dbb678434419bafde..a2dd7171a714f336878cefaf0863c1795768ce16 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',