Try to upgrade distribute prior to the app running.

This commit is contained in:
yackob03 2013-09-30 20:13:36 -04:00
parent 2e3c4723d0
commit f8f86bcb04
2 changed files with 4 additions and 0 deletions

View file

@ -23,6 +23,9 @@ commands:
command: grep "python2.7" 03deploy.py || sed -i 's/--distribute/--python=python2.7 &/' 03deploy.py command: grep "python2.7" 03deploy.py || sed -i 's/--distribute/--python=python2.7 &/' 03deploy.py
cwd: /opt/elasticbeanstalk/hooks/appdeploy/pre cwd: /opt/elasticbeanstalk/hooks/appdeploy/pre
updatedistribute:
command: easy_install -U distribute
container_commands: container_commands:
# Now that our app is installed using python2.7 we # Now that our app is installed using python2.7 we
# need to fix some paths that the wsgi configuration # need to fix some paths that the wsgi configuration

View file

@ -9,6 +9,7 @@ Werkzeug==0.9.4
argparse==1.2.1 argparse==1.2.1
blinker==1.3 blinker==1.3
boto==2.13.3 boto==2.13.3
distribute==0.6.28
itsdangerous==0.23 itsdangerous==0.23
peewee==2.1.4 peewee==2.1.4
py-bcrypt==0.4 py-bcrypt==0.4