More build/distrib tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-08-12 21:30:02 +00:00
parent 328a083c69
commit 2eb31f8b19
4 changed files with 81 additions and 19 deletions

View File

@@ -30,14 +30,18 @@ template = """\
%s %s\\%s %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9
"""
for script, usegui in scripts:
batfile = os.path.join(scriptdir, script + '.bat')
print "Creating", batfile
f = open(batfile, 'w')
if usegui:
f.write(template % (pythonw, scriptdir, script))
else:
f.write(template % (python, scriptdir, script))
f.close()
def main():
for script, usegui in scripts:
batfile = os.path.join(scriptdir, script + '.bat')
print "Creating", batfile
f = open(batfile, 'w')
if usegui:
f.write(template % (pythonw, scriptdir, script))
else:
f.write(template % (python, scriptdir, script))
f.close()
if __name__ == '__main__':
main()