Mercurial > cpython-lru_cache-weakref
diff Mac/scripts/BuildApplication.py @ 13698:cb29d4a2c17b legacy-trunk
Added a "compile-time" flag PPC_ONLY, if set we make ppc-only applications without posting the dialog. This is the normal situation since 1.6alfa (no more 68k support).
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Mon, 24 Jul 2000 19:44:17 +0000 |
| parents | fc77e34ef274 |
| children | 027ee9a870d2 |
line wrap: on
line diff
--- a/Mac/scripts/BuildApplication.py Mon Jul 24 19:42:53 2000 +0000 +++ b/Mac/scripts/BuildApplication.py Mon Jul 24 19:44:17 2000 +0000 @@ -34,6 +34,9 @@ GENPPC_BUTTON = 5 GEN68K_BUTTON = 6 +# Define this if we cannot generate 68/fat binaries (Python 1.6) +PPC_ONLY=1 + try: Res.GetResource('DITL', DLG_ID) @@ -108,6 +111,8 @@ def interact(scriptname): + if PPC_ONLY: + return 'pwpc' d = Dlg.GetNewDialog(DLG_ID, -1) if not d: print "Can't get DLOG resource with id =", DLG_ID
