diff options
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/scripts/BuildApplet.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Mac/scripts/BuildApplet.py b/Mac/scripts/BuildApplet.py index 52a7d0f..64a3d5e 100644 --- a/Mac/scripts/BuildApplet.py +++ b/Mac/scripts/BuildApplet.py @@ -75,6 +75,8 @@ def buildapplet(): elif opt in ('-n', '--noargv'): raw = 1 elif opt in ('-e', '--extra'): + if ':' in arg: + arg = arg.split(':') extras.append(arg) elif opt in ('-v', '--verbose'): verbose = Verbose() @@ -99,12 +101,12 @@ def usage(): print " BuildApplet src1.py src2.py ... non-interactive multiple file" print " BuildApplet [options] src.py non-interactive single file" print "Options:" - print " --output o Output file; default based on source filename, short -o" - print " --resource r Resource file; default based on source filename, short -r" - print " --noargv Build applet without drag-and-drop sys.argv emulation, short -n, OSX only" - print " --extra f Extra file to put in .app bundle, short -e, OSX only" - print " --verbose Verbose, short -v" - print " --help This message, short -?" + print " --output o Output file; default based on source filename, short -o" + print " --resource r Resource file; default based on source filename, short -r" + print " --noargv Build applet without drag-and-drop sys.argv emulation, short -n, OSX only" + print " --extra src[:dst] Extra file to put in .app bundle, short -e, OSX only" + print " --verbose Verbose, short -v" + print " --help This message, short -?" sys.exit(1) class Verbose: |