Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9d609b4

Browse files
author
Just van Rossum
committed
Added PythonIDE to the applet list; added destination filename support for applets -- jvr
1 parent e590a95 commit 9d609b4

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

Mac/scripts/fullbuild.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,13 @@ def buildmwproject(top, creator, projects):
9696
def buildapplet(top, dummy, list):
9797
"""Create python applets"""
9898
template = buildtools.findtemplate()
99-
for src in list:
99+
for src, dst in list:
100100
if src[-3:] != '.py':
101101
raise 'Should end in .py', src
102102
base = os.path.basename(src)
103-
dst = os.path.join(top, base)[:-3]
103+
#dst = os.path.join(top, base)[:-3]
104104
src = os.path.join(top, src)
105+
dst = os.path.join(top, dst)
105106
try:
106107
os.unlink(dst)
107108
except os.error:
@@ -190,10 +191,11 @@ def handle_dialog(filename):
190191
]),
191192

192193
I_APPLETS : (buildapplet, None, [
193-
":Mac:scripts:EditPythonPrefs.py",
194-
":Mac:scripts:BuildApplet.py",
195-
":Mac:scripts:BuildApplication.py",
196-
":Mac:scripts:ConfigurePython.py"
194+
(":Mac:scripts:EditPythonPrefs.py", "EditPythonPrefs"),
195+
(":Mac:scripts:BuildApplet.py", "BuildApplet"),
196+
(":Mac:scripts:BuildApplication.py", "BuildApplication"),
197+
(":Mac:scripts:ConfigurePython.py", "ConfigurePython"),
198+
(":Mac:Tools:IDE:PythonIDE.py", "Python IDE"),
197199
]),
198200
}
199201

0 commit comments

Comments
 (0)