| 226 |
|
p.add_option("-w", "--windowed", "--noconsole", dest="console",
|
| 227 |
|
action="store_false", default=True,
|
| 228 |
|
help="use a Windows subsystem executable (Windows only)")
|
| 229 |
|
p.add_option("-c", "--nowindowed", "--console", dest="console",
|
| 230 |
|
action="store_true",
|
| 231 |
|
help="use a console subsystem executable (Windows only) "
|
| 232 |
|
"(default)")
|
| 233 |
|
p.add_option("-a", "--ascii", action="store_true", default=False,
|
| 234 |
|
help="do NOT include unicode encodings "
|
| 235 |
|
"(default: included if available)")
|
| 236 |
|
p.add_option("-d", "--debug", action="store_true", default=False,
|
| 237 |
|
help="use the debug (verbose) build of the executable")
|
| 238 |
|
p.add_option("-s", "--strip", action="store_true", default=False,
|
| 239 |
|
help="strip the exe and shared libs "
|
| 240 |
|
"(don't try this on Windows)")
|
| 241 |
|
p.add_option("-X", "--upx", action="store_true", default=False,
|
| 242 |
|
help="use UPX if available (works differently between "
|
| 243 |
|
"Windows and *nix)")
|
| 244 |
|
p.add_option("-K", "--tk", default=False, action="store_true",
|
| 245 |
|
help="include TCL/TK in the deployment")
|
| 246 |
|
p.add_option("-o", "--out", type="string", default=None,
|
| |
227 |
g.add_option("-o", "--out", type="string", default=None,
|
| 249 |
|
p.add_option("-n", "--name", type="string", default=None,
|
| 250 |
|
help="name to assign to the project, from which the spec file "
|
| 251 |
|
"name is generated. (default: use the basename of the "
|
| 252 |
|
"(first) script)")
|
| 253 |
|
p.add_option("-p", "--paths", type="string", default=[], dest="pathex",
|
| |
230 |
|
| |
231 |
g = p.add_option_group('What to bundle, where to seach')
|
| |
232 |
g.add_option("-p", "--paths", type="string", default=[], dest="pathex",
|
| 260 |
|
p.add_option("-v", "--version", type="string",
|
| |
239 |
g.add_option("-K", "--tk", default=False, action="store_true",
|
| |
240 |
help="include TCL/TK in the deployment")
|
| |
241 |
g.add_option("-a", "--ascii", action="store_true", default=False,
|
| |
242 |
help="do NOT include unicode encodings "
|
| |
243 |
"(default: included if available)")
|
| |
244 |
|
| |
245 |
g = p.add_option_group('How to generate')
|
| |
246 |
g.add_option("-d", "--debug", action="store_true", default=False,
|
| |
247 |
help="use the debug (verbose) build of the executable")
|
| |
248 |
g.add_option("-s", "--strip", action="store_true", default=False,
|
| |
249 |
help="strip the exe and shared libs "
|
| |
250 |
"(don't try this on Windows)")
|
| |
251 |
g.add_option("-X", "--upx", action="store_true", default=False,
|
| |
252 |
help="use UPX if available (works differently between "
|
| |
253 |
"Windows and *nix)")
|
| |
254 |
|
| |
255 |
g = p.add_option_group('Windows specific options')
|
| |
256 |
g.add_option("-c", "--console", "--nowindowed", dest="console",
|
| |
257 |
action="store_true",
|
| |
258 |
help="use a console subsystem executable (Windows only) "
|
| |
259 |
"(default)")
|
| |
260 |
g.add_option("-w", "--windowed", "--noconsole", dest="console",
|
| |
261 |
action="store_false", default=True,
|
| |
262 |
help="use a Windows subsystem executable (Windows only)")
|
| |
263 |
g.add_option("-v", "--version", type="string",
|