Commits

illume  committed bfbda12

Improve support for non-interactive configuration.
Thanks Arfrever Frehtes Taifersar Arahesis!

  • Participants
  • Parent commits 52f9958

Comments (0)

Files changed (2)

File config_msys.py

     
     for d in DEPS[1:]:
         if not d.found:
-            if not confirm("""
+            if "-auto" not in sys.argv and not confirm("""
 Warning, some of the pygame dependencies were not found. Pygame can still
 compile and install, but games that depend on those missing dependencies
 will not run. Would you like to continue the configuration?"""):

File config_unix.py

 
     for d in DEPS[1:]:
         if not d.found:
-            if not confirm("""
+            if "-auto" not in sys.argv and not confirm("""
 Warning, some of the pygame dependencies were not found. Pygame can still
 compile and install, but games that depend on those missing dependencies
 will not run. Would you like to continue the configuration?"""):