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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user