Build and distrib tweaks ported over from the 2.6 branch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-07-05 05:23:28 +00:00
parent 2dfa1180b0
commit 0f475e8aa9
24 changed files with 301 additions and 182 deletions

View File

@@ -27,10 +27,11 @@ if len(sys.argv) > 1:
from CreateBatchFiles import scripts
repltxt = "#!/usr/bin/env python"
# use the existing pythonw as a template
gui_template = open(pythonw, "r").read().replace('"$@"', '"%s.py" "$@"')
gui_template = """
#!/bin/sh
exec "%s" %%s.py "$@"
""" % (sys.executable)
def main():
for script, usegui in scripts: