pygame /

Diff from to

 import msysio
 import mingwcfg
-import sys, os, shutil, string
+import sys, os, shutil
 def print_(*args, **kwds):
     """Simular to the Python 3.0 print function"""
 def confirm(message):
     "ask a yes/no question, return result"
     reply = msysio.raw_input_("\n%s [Y/n]:" % message)
-    if reply and string.lower(reply[0]) == 'n':
-        return 0
-    return 1
+    if reply and reply[0].lower() == 'n':
+        return False
+    return True
 def is_msys_mingw():
     """Return true if this in an MinGW/MSYS build
 def main():
     additional_platform_setup = []
-    if sys.platform == 'win32' and not is_msys_mingw():
+    if (sys.platform == 'win32' and
+        # Note that msys builds supported for 2.6 and greater. Use prebuilt.
+        (sys.version_info >= (2, 6) or not is_msys_mingw())):
         print_('Using WINDOWS configuration...\n')
         import config_win as CFG
     elif sys.platform == 'win32':
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.