diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-02-12 14:46:53 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-02-12 14:46:53 (GMT) |
commit | 5288c47f6b77a1ea982f7d071ffaebd96775c9d3 (patch) | |
tree | 72ddc37260824933aaa0f6c95990e873bb331dfd /Mac/scripts | |
parent | bfae1964c8973a78f332d2d3f224eb78748981db (diff) | |
download | cpython-5288c47f6b77a1ea982f7d071ffaebd96775c9d3.zip cpython-5288c47f6b77a1ea982f7d071ffaebd96775c9d3.tar.gz cpython-5288c47f6b77a1ea982f7d071ffaebd96775c9d3.tar.bz2 |
Added buttons for building interpreter, carbon standalone.
Added modules _testcapi, _weakref, _symtable.
Diffstat (limited to 'Mac/scripts')
-rw-r--r-- | Mac/scripts/fullbuild.py | 46 | ||||
-rw-r--r-- | Mac/scripts/fullbuild.rsrc | 2 |
2 files changed, 37 insertions, 11 deletions
diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py index a6d8159..0750a46 100644 --- a/Mac/scripts/fullbuild.py +++ b/Mac/scripts/fullbuild.py @@ -60,13 +60,17 @@ I_PPC_EXTENSIONS=13 I_CARBON_CORE=15 I_CARBON_PLUGINS=16 I_CARBON_EXTENSIONS=17 -# label 18 -I_PPC_FULL=19 -I_PPC_SMALL=20 -# label 21 -I_APPLETS=22 +I_INTERPRETER=18 +# label 19 +I_PPC_FULL=20 +I_PPC_SMALL=21 +# label 22 +I_CARBON_FULL=23 +I_CARBON_SMALL=24 +# label 25 +I_APPLETS=26 -N_BUTTONS=23 +N_BUTTONS=27 if OLDAESUPPORT: class MwShell(Metrowerks_Shell_Suite, CodeWarrior_suite, Metrowerks_Standard_Suite, @@ -146,9 +150,6 @@ def buildprojectfile(top, arg, list): r(arg) del sys.path[0] -def buildcarbonnotyet(top, arg, list): - print "No carbon builds yet" - def buildfat(top, dummy, list): """Build fat binaries""" for dst, src1, src2 in list: @@ -158,6 +159,13 @@ def buildfat(top, dummy, list): print 'Building fat binary', dst cfmfile.mergecfmfiles((src1, src2), dst) +def buildcopy(top, dummy, list): + import macostools + for src, dst in list: + src = os.path.join(top, src) + dst = os.path.join(top, dst) + macostools.copy(src, dst) + def handle_dialog(filename): """Handle selection dialog, return list of selected items""" d = Dlg.GetNewDialog(DIALOG_ID, -1) @@ -203,9 +211,13 @@ I_GEN_IMGPROJECTS_FORCE : (buildprojectfile, 1, [ (":Extensions:img:Mac", "genimgprojects", "genallprojects") ]), +I_INTERPRETER : (buildcopy, None, [ + ("PythonInterpreterCarbon", "PythonInterpreter"), + ]), + I_PPC_CORE : (buildmwproject, "CWIE", [ (":Mac:Build:PythonCore.mcp", "PythonCore"), - (":Mac:Build:PythonInterpreter.mcp", "PythonInterpreter"), + (":Mac:Build:PythonInterpreter.mcp", "PythonInterpreterClassic"), ]), I_CARBON_CORE : (buildmwproject, "CWIE", [ @@ -219,6 +231,9 @@ I_PPC_EXTLIBS : (buildmwproject, "CWIE", [ ]), I_PPC_PLUGINS : (buildmwproject, "CWIE", [ + (":Mac:Build:_weakref.mcp", "_weakref.ppc"), + (":Mac:Build:_symtable.mcp", "_symtable.ppc"), + (":Mac:Build:_testcapi.mcp", "_testcapi.ppc"), (":Mac:Build:pyexpat.mcp", "pyexpat.ppc"), (":Mac:Build:calldll.mcp", "calldll.ppc"), (":Mac:Build:ctb.mcp", "ctb.ppc"), @@ -246,6 +261,9 @@ I_PPC_PLUGINS : (buildmwproject, "CWIE", [ ]), I_CARBON_PLUGINS : (buildmwproject, "CWIE", [ + (":Mac:Build:_weakref.carbon.mcp", "_weakref.carbon"), + (":Mac:Build:_symtable.carbon.mcp", "_symtable.carbon"), + (":Mac:Build:_testcapi.carbon.mcp", "_testcapi.carbon"), (":Mac:Build:pyexpat.carbon.mcp", "pyexpat.carbon"), (":Mac:Build:calldll.carbon.mcp", "calldll.carbon"), (":Mac:Build:gdbm.carbon.mcp", "gdbm.carbon"), @@ -276,6 +294,14 @@ I_PPC_SMALL : (buildmwproject, "CWIE", [ (":Mac:Build:PythonStandSmall.mcp", "PythonStandSmall"), ]), +I_CARBON_FULL : (buildmwproject, "CWIE", [ + (":Mac:Build:PythonStandalone.mcp", "PythonCarbonStandalone"), + ]), + +I_CARBON_SMALL : (buildmwproject, "CWIE", [ + (":Mac:Build:PythonStandSmall.mcp", "PythonStandSmallCarbon"), + ]), + I_PPC_EXTENSIONS : (buildmwproject, "CWIE", [ (":Extensions:Imaging:_imaging.mcp", "_imaging.ppc"), ## (":Extensions:Imaging:_tkinter.mcp", "_tkinter.ppc"), diff --git a/Mac/scripts/fullbuild.rsrc b/Mac/scripts/fullbuild.rsrc index a7b9e77..9751148 100644 --- a/Mac/scripts/fullbuild.rsrc +++ b/Mac/scripts/fullbuild.rsrc @@ -1 +1 @@ -(This file must be converted with BinHex 4.0)
:!!"bFh*M8P0&4!#3#!AfY+i!N!3"!!!!"@!!!!4J!!!!PJ!!4dJ-8f0bC@9Z)%9
KFf@U)!)!!!"45f9i8f0&B5%!$QCeE'aLG@PXC#jbFh*M-5ib,M%Z-5iaFh4KE'a
PFQ`!!(*cFQ058d9%!*!BXQ0bE`#3"J-'!*!+$J!!!%G)#&0[CR4,CAPcCJ)!!J"
45f9i8AK6Db%!!$3!3!#3"%H)!*!1H6B!!(i!U%&`!+PfTGS!N#+1N3!(!*!-&!#
3"$!!N!F%!!$rN!B!!3#3"`)!N!F$!*!("2q3"J!!!!B!N!8,!!!#5!!9!*!&i!'
'!23"`!3#6dX!N!AJ!!S!p!"%"!C$B@jMC@`!N!8)!)m!'!%JL"96C@aPBh3JGfK
KG#"dEb"LG@PXC$S#!*!&)!!-!$!"-!8B3R9TE'3JCAKdCA*ZB@`JE'PLFQ&bD@9
c!*!&0!!-!%3!i!8G4f9ZCA*KG'8JF'aeCfPZ)("bEfTPBh3JCQPXCA-#!*!&0!$
I!%3"X!8C4QpbBf8JFQ9LG@PXC#"[CL"`FQpUC@0dF`)!N!9-!!`!A!$J"4T(C@j
PFQ&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