summaryrefslogtreecommitdiffstats
path: root/Mac/scripts
diff options
context:
space:
mode:
authorJust van Rossum <just@lettererror.com>1999-02-01 01:21:18 (GMT)
committerJust van Rossum <just@lettererror.com>1999-02-01 01:21:18 (GMT)
commit9d609b4db40194c42385caedd265045938093aec (patch)
tree36505d5d1175ca55f86a2fe07efe64759738f768 /Mac/scripts
parente590a95796281e7f87b9bfd020cd723276c1b87b (diff)
downloadcpython-9d609b4db40194c42385caedd265045938093aec.zip
cpython-9d609b4db40194c42385caedd265045938093aec.tar.gz
cpython-9d609b4db40194c42385caedd265045938093aec.tar.bz2
Added PythonIDE to the applet list; added destination filename support for applets -- jvr
Diffstat (limited to 'Mac/scripts')
-rw-r--r--Mac/scripts/fullbuild.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py
index 0587f6c..64adda9 100644
--- a/Mac/scripts/fullbuild.py
+++ b/Mac/scripts/fullbuild.py
@@ -96,12 +96,13 @@ def buildmwproject(top, creator, projects):
def buildapplet(top, dummy, list):
"""Create python applets"""
template = buildtools.findtemplate()
- for src in list:
+ for src, dst in list:
if src[-3:] != '.py':
raise 'Should end in .py', src
base = os.path.basename(src)
- dst = os.path.join(top, base)[:-3]
+ #dst = os.path.join(top, base)[:-3]
src = os.path.join(top, src)
+ dst = os.path.join(top, dst)
try:
os.unlink(dst)
except os.error:
@@ -190,10 +191,11 @@ I_68K_EXTENSIONS : (buildmwproject, "CWIE", [
]),
I_APPLETS : (buildapplet, None, [
- ":Mac:scripts:EditPythonPrefs.py",
- ":Mac:scripts:BuildApplet.py",
- ":Mac:scripts:BuildApplication.py",
- ":Mac:scripts:ConfigurePython.py"
+ (":Mac:scripts:EditPythonPrefs.py", "EditPythonPrefs"),
+ (":Mac:scripts:BuildApplet.py", "BuildApplet"),
+ (":Mac:scripts:BuildApplication.py", "BuildApplication"),
+ (":Mac:scripts:ConfigurePython.py", "ConfigurePython"),
+ (":Mac:Tools:IDE:PythonIDE.py", "Python IDE"),
]),
}