Changeset 505
- Timestamp:
- Mon Jul 28 13:44:51 2008
- Files:
-
- trunk/Makespec.py (modified) (diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
trunk/Makespec.py
r504 r505 141 141 config = eval(open(os.path.join(HOME, 'config.dat'), 'r').read()) 142 142 except IOError: 143 print "You must run Configure.py before building!" 144 sys.exit(1) 143 raise SystemExit("Configfile is missing or unreadable. Please run Configure.py before building!") 145 144 146 145 if config['pythonVersion'] != sys.version: … … 228 227 g.add_option("-o", "--out", type="string", default=None, 229 228 dest="workdir", metavar="DIR", 230 help="generate the spec file in the specified directory") 229 help="generate the spec file in the specified directory " 230 "(default: current directory") 231 231 232 232 g = p.add_option_group('What to bundle, where to seach') … … 281 281 282 282 if not args: 283 p.print_help() 284 sys.exit(1) 283 p.error('Requires at least one scriptname file') 285 284 286 nm = apply(main, (args,), opts.__dict__) 287 print "wrote %s" % nm 285 name = apply(main, (args,), opts.__dict__) 286 print "wrote %s" % name 288 287 print "now run Build.py to build the executable"
