/rpython/__main__.py

https://bitbucket.org/pypy/pypy/ · Python · 16 lines · 6 code · 3 blank · 7 comment · 1 complexity · 30880607bd3c4cb4970ec64900a3400e MD5 · raw file

  1. """RPython translation usage:
  2. rpython <translation options> target <targetoptions>
  3. run with --help for more information
  4. """
  5. import sys
  6. # no implicit targets
  7. if len(sys.argv) == 1:
  8. print __doc__
  9. sys.exit(1)
  10. from rpython.translator.goal.translate import main
  11. main()