From 52db1c87961eff6a08c2130d627fe9ce3d26e8f5 Mon Sep 17 00:00:00 2001 From: yackob03 Date: Mon, 30 Sep 2013 20:26:41 -0400 Subject: [PATCH] Try using pymysql instead of mysqldb. --- .ebextensions/python27.config | 3 --- requirements-nover.txt | 2 +- requirements.txt | 3 +-- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.ebextensions/python27.config b/.ebextensions/python27.config index 717384315..0d7b06efb 100644 --- a/.ebextensions/python27.config +++ b/.ebextensions/python27.config @@ -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 diff --git a/requirements-nover.txt b/requirements-nover.txt index 4f7a3d3b2..9a45a60cd 100644 --- a/requirements-nover.txt +++ b/requirements-nover.txt @@ -6,4 +6,4 @@ Flask-Login Flask-Mail python-dateutil boto -MySQL-python \ No newline at end of file +pymysql \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 321bcc6c1..c442ed8c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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