1. pygame
  2. Untitled project
  3. pygame

Commits

brian  committed e4f6ffb

making it easy to build with bdist_msi

  • Participants
  • Parent commits 3e118ec
  • Branches default

Comments (0)

Files changed (1)

File setup.py

View file
 }
 
 import sys
+
+# hack the version name to a format msi doesn't have trouble with
+if "bdist_msi" in sys.argv:
+    METADATA["version"] = METADATA["version"].replace("rc", "b")
+    
 if not hasattr(sys, 'version_info') or sys.version_info < (2,2):
     raise SystemExit, "Pygame requires Python version 2.2 or above."