Browse Source

Use MySQL-for-Python-3 for Python 3

INADA Naoki 12 years ago
parent
commit
5498755875
1 changed files with 3 additions and 1 deletions
  1. 3 1
      installer.py

+ 3 - 1
installer.py

@@ -81,7 +81,9 @@ class Installer:
     self.__run_command(python3_bin + "/python3 ez_setup.py")
     self.__run_command(python3_bin + "/python3 ez_setup.py")
 
 
     easy_install('pip==1.3.1', two=True, three=True, pypy=True)
     easy_install('pip==1.3.1', two=True, three=True, pypy=True)
-    easy_install('MySQL-python==1.2.4')
+    easy_install('MySQL-python==1.2.4', two=True, three=False, pypy=True)
+    easy_install('https://github.com/clelland/MySQL-for-Python-3/archive/master.zip',
+                 two=False, three=False, pypy=False)
     easy_install('PyMySQL==0.5', pypy=True)
     easy_install('PyMySQL==0.5', pypy=True)
     easy_install('PyMySQL3==0.5', two=False, three=True)
     easy_install('PyMySQL3==0.5', two=False, three=True)
     easy_install('simplejson==3.3.0', two=True, three=True, pypy=False)
     easy_install('simplejson==3.3.0', two=True, three=True, pypy=False)