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

Skip to content

Commit 490ec9c

Browse files
committed
Use buildtools where appropriate.
Build BuildApplication applet too.
1 parent b44f1cc commit 490ec9c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Mac/scripts/fullbuild.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import Res
2929
import Dlg
3030

31-
import BuildApplet
31+
import buildtools
3232
import cfmfile
3333

3434
# Dialog resource. Note that the item numbers should correspond
@@ -87,7 +87,7 @@ def buildmwproject(top, creator, projects):
8787

8888
def buildapplet(top, dummy, list):
8989
"""Create python applets"""
90-
template = BuildApplet.findtemplate()
90+
template = buildtools.findtemplate()
9191
for src in list:
9292
if src[-3:] != '.py':
9393
raise 'Should end in .py', src
@@ -99,7 +99,7 @@ def buildapplet(top, dummy, list):
9999
except os.error:
100100
pass
101101
print 'Building applet', dst
102-
BuildApplet.process(template, src, dst)
102+
buildtools.process(template, src, dst, 1)
103103

104104
def buildfat(top, dummy, list):
105105
"""Build fat binaries"""
@@ -184,6 +184,7 @@ def handle_dialog(filename):
184184
I_APPLETS : (buildapplet, None, [
185185
":Mac:scripts:EditPythonPrefs.py",
186186
":Mac:scripts:BuildApplet.py",
187+
":Mac:scripts:BuildApplication.py",
187188
":Mac:scripts:ConfigurePython.py"
188189
]),
189190
}

0 commit comments

Comments
 (0)