Esempio n. 1
0
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.'
Esempio n. 2
0
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.'
Esempio n. 3
0
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.'