config.py has some checks for "-auto" option in some places, but similar checks are missing in config_msys.py and config_unix.py, which can be imported by config.py. I'm attaching the patch, which fixes this problem. This allows to easily configure Pygame non-interactively using a script.
-- Arfrever Frehtes Taifersar Arahesis
Index: config_unix.py =================================================================== --- config_unix.py (revision 3081) +++ config_unix.py (working copy) @@ -216,7 +216,7 @@ 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?"""): Index: config_msys.py =================================================================== --- config_msys.py (revision 3081) +++ config_msys.py (working copy) @@ -289,7 +289,7 @@ 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?"""):
signature.asc
Description: This is a digitally signed message part.