def main(): """Run the program, put here to make linter happy.""" parser = optparse.OptionParser() pybdist.add_standard_options(parser, setup) (options, unused_args) = parser.parse_args() if not pybdist.handle_standard_options(options, setup): print 'Doing nothing. --help for commands.'
def main(): """Run the program, put here to make linter happy.""" parser = optparse.OptionParser() parser.add_option('--png', dest='png', action='store_true', help='Only build png files') pybdist.add_standard_options(parser, setup) (options, unused_args) = parser.parse_args() if options.png: build_screen_shots() elif not pybdist.handle_standard_options(options, setup): print 'Doing nothing. --help for commands.'