Try using pymysql instead of mysqldb.

This commit is contained in:
yackob03 2013-09-30 20:26:41 -04:00
parent f8f86bcb04
commit 52db1c8796
3 changed files with 2 additions and 6 deletions

View file

@ -23,9 +23,6 @@ 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

View file

@ -6,4 +6,4 @@ Flask-Login
Flask-Mail
python-dateutil
boto
MySQL-python
pymysql

View file

@ -4,12 +4,11 @@ Flask-Mail==0.9.0
Flask-Principal==0.4.0
Jinja2==2.7.1
MarkupSafe==0.18
MySQL-python==1.2.3
PyMySQL==0.5
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