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
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