aboutsummaryrefslogtreecommitdiff
path: root/pypy/bin
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2012-03-27 11:29:27 +0200
committerMatti Picus <matti.picus@gmail.com>2012-03-27 11:29:27 +0200
commitc5196e6dc1050fae0f21c2d5d71ed5ec2e8e56b6 (patch)
tree9f7b4826bf7c4c3b9c7c88c12b896f633d3f3f37 /pypy/bin
parentmerge to close branch (diff)
parentfix (diff)
downloadpypy-c5196e6dc1050fae0f21c2d5d71ed5ec2e8e56b6.tar.gz
pypy-c5196e6dc1050fae0f21c2d5d71ed5ec2e8e56b6.tar.bz2
pypy-c5196e6dc1050fae0f21c2d5d71ed5ec2e8e56b6.zip
merge from default
Diffstat (limited to 'pypy/bin')
-rw-r--r--pypy/bin/rpython18
1 files changed, 18 insertions, 0 deletions
diff --git a/pypy/bin/rpython b/pypy/bin/rpython
new file mode 100644
index 0000000000..881d727c2c
--- /dev/null
+++ b/pypy/bin/rpython
@@ -0,0 +1,18 @@
+#!/usr/bin/env pypy
+
+"""RPython translation usage:
+
+rpython <translation options> target <targetoptions>
+
+run with --help for more information
+"""
+
+import sys
+from pypy.translator.goal.translate import main
+
+# no implicit targets
+if len(sys.argv) == 1:
+ print __doc__
+ sys.exit(1)
+
+main()