From 3b8052685c87e6564a3a4c37954ac2d96fcd6478 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Sun, 14 Feb 1999 23:12:06 +0000 Subject: (finally) unified the interpreter and the applet as Just suggested ages ago. The resulting program is called PythonInterpreter. --- Mac/Build/Python.prj | Bin 74912 -> 0 bytes Mac/Build/PythonApplet.prj | Bin 83905 -> 0 bytes Mac/Build/PythonInterpreter.prj | Bin 0 -> 86704 bytes Mac/Demo/building.html | 16 +++++----------- Mac/Lib/buildtools.py | 2 +- Mac/scripts/fullbuild.py | 3 +-- 6 files changed, 7 insertions(+), 14 deletions(-) delete mode 100644 Mac/Build/Python.prj delete mode 100644 Mac/Build/PythonApplet.prj create mode 100644 Mac/Build/PythonInterpreter.prj diff --git a/Mac/Build/Python.prj b/Mac/Build/Python.prj deleted file mode 100644 index 9dc1387..0000000 Binary files a/Mac/Build/Python.prj and /dev/null differ diff --git a/Mac/Build/PythonApplet.prj b/Mac/Build/PythonApplet.prj deleted file mode 100644 index 500cd896..0000000 Binary files a/Mac/Build/PythonApplet.prj and /dev/null differ diff --git a/Mac/Build/PythonInterpreter.prj b/Mac/Build/PythonInterpreter.prj new file mode 100644 index 0000000..ab3cd9f Binary files /dev/null and b/Mac/Build/PythonInterpreter.prj differ diff --git a/Mac/Demo/building.html b/Mac/Demo/building.html index f78b2b7..ee214e6 100644 --- a/Mac/Demo/building.html +++ b/Mac/Demo/building.html @@ -346,8 +346,8 @@ it from the system folder and running Python once again will re-create it. First you optionally build the external libraries with buildlibs.prj. Next, the projects for interpreter, core library and applet skeleton are all linked together, so -building the fat targets in Python.prj and -PythonApplet.prj will result in everything being built. The +building the fat target in PythonEngine.prj +will result in everything being built. The resulting applications and fat shared library are deposited in the main Python folder. Finally, you build all the plugins with the plugins.prj project. @@ -364,16 +364,10 @@ moving the file will cause you grief later if you rebuild the library and forget to copy it to the extensions folder again. The InstallPython applet will also do this, along with creating the plugin aliases. -
Python +
PythonInterpeter
The interpreter. This is basically a routine to call out to the -shared library.

- -

PythonAppletPPC -
The applet skeleton application. Very similar to -PythonPPC, but it calls to a different entrypoint in the -core library. The mkapplet script will copy this complete -file, and add a 'PYC ' with the module to generate an -applet.

+shared library. Unlike in previous releases the same program is used for +creating applets (for which formerly PythonApplet was used).

Plugin projects
Each plugin module has a separate project. The Plugins.prj diff --git a/Mac/Lib/buildtools.py b/Mac/Lib/buildtools.py index 3dcb6ae..badd8a1 100644 --- a/Mac/Lib/buildtools.py +++ b/Mac/Lib/buildtools.py @@ -22,7 +22,7 @@ DEBUG=1 MAGIC = imp.get_magic() # Template file (searched on sys.path) -TEMPLATE = "PythonApplet" +TEMPLATE = "PythonInterpreter" # Specification of our resource RESTYPE = 'PYC ' diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py index 3b7ecb6..3eaed06 100644 --- a/Mac/scripts/fullbuild.py +++ b/Mac/scripts/fullbuild.py @@ -149,8 +149,7 @@ def handle_dialog(filename): BUILD_DICT = { I_CORE : (buildmwproject, "CWIE", [ (":Mac:Build:PythonCore.prj", "PythonCore"), - (":Mac:Build:Python.prj", "PythonFAT"), - (":Mac:Build:PythonApplet.prj", "PythonAppletFAT"), + (":Mac:Build:PythonInterpreter.prj", "PythonInterpreter"), ]), I_PPC_PLUGINS : (buildmwproject, "CWIE", [ -- cgit v0.12