Try using pymysql instead of mysqldb.
This commit is contained in:
parent
f8f86bcb04
commit
52db1c8796
3 changed files with 2 additions and 6 deletions
|
@ -23,9 +23,6 @@ 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
|
||||||
|
|
|
@ -6,4 +6,4 @@ Flask-Login
|
||||||
Flask-Mail
|
Flask-Mail
|
||||||
python-dateutil
|
python-dateutil
|
||||||
boto
|
boto
|
||||||
MySQL-python
|
pymysql
|
|
@ -4,12 +4,11 @@ Flask-Mail==0.9.0
|
||||||
Flask-Principal==0.4.0
|
Flask-Principal==0.4.0
|
||||||
Jinja2==2.7.1
|
Jinja2==2.7.1
|
||||||
MarkupSafe==0.18
|
MarkupSafe==0.18
|
||||||
MySQL-python==1.2.3
|
PyMySQL==0.5
|
||||||
Werkzeug==0.9.4
|
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
|
||||||
|
|
Reference in a new issue