예제 #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.'
예제 #2
0
파일: build.py 프로젝트: Drezil/key-mon
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.'
예제 #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.'