1. David Beitey
  2. pygame


marcus  committed a85cb04

Minor build fix for 64-bit Win32 platforms.

  • Participants
  • Parent commits 2d1474f
  • Branches pgreloaded

Comments (0)

Files changed (2)

File README.txt

View file
  • Ignore whitespace
 0. Description
 Pygame2 is a cross-platform multimedia framework for the excellent Python
-programming language. It's purpose is to make writing multimedia applications,
+programming language. Its purpose is to make writing multimedia applications,
 such as games, with Python as easy as possible, while providing the developer a
 reliable and extensible programming interface.

File config/msys.py

View file
  • Ignore whitespace
 import subprocess
 import re
 import glob
+import platform
     if helpers.getversion()[0] >= 3:
         import winreg as _winreg
     return re.match('/[A-Z]/', path, re.I) is not None
+def is64bit ():
+    return "64" in platform.architecture ()[0]
 class MsysException(Exception):
     """Path retrieval problem"""
     key = None
     subkey = (
+    if is64bit ():
+        subkey = ('Software\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MSYS-1.0_is1')
         key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey)