From f8f86bcb04972673f96c9c8d364713476c8ade18 Mon Sep 17 00:00:00 2001 From: yackob03 Date: Mon, 30 Sep 2013 20:13:36 -0400 Subject: [PATCH] Try to upgrade distribute prior to the app running. --- .ebextensions/python27.config | 3 +++ requirements.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/.ebextensions/python27.config b/.ebextensions/python27.config index 0d7b06efb..717384315 100644 --- a/.ebextensions/python27.config +++ b/.ebextensions/python27.config @@ -23,6 +23,9 @@ commands: command: grep "python2.7" 03deploy.py || sed -i 's/--distribute/--python=python2.7 &/' 03deploy.py cwd: /opt/elasticbeanstalk/hooks/appdeploy/pre + updatedistribute: + command: easy_install -U distribute + container_commands: # Now that our app is installed using python2.7 we # need to fix some paths that the wsgi configuration diff --git a/requirements.txt b/requirements.txt index 71049adb4..321bcc6c1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,6 +9,7 @@ Werkzeug==0.9.4 argparse==1.2.1 blinker==1.3 boto==2.13.3 +distribute==0.6.28 itsdangerous==0.23 peewee==2.1.4 py-bcrypt==0.4