aboutsummaryrefslogtreecommitdiff
path: root/pypy/bin
diff options
context:
space:
mode:
Diffstat (limited to 'pypy/bin')
-rwxr-xr-xpypy/bin/py.py2
-rwxr-xr-xpypy/bin/reportstaticdata.py2
-rwxr-xr-xpypy/bin/translatorshell.py10
3 files changed, 7 insertions, 7 deletions
diff --git a/pypy/bin/py.py b/pypy/bin/py.py
index 765ed5bc4e..139154df89 100755
--- a/pypy/bin/py.py
+++ b/pypy/bin/py.py
@@ -57,7 +57,7 @@ def pypy_init(import_site):
def set_compiler(option, opt, value, parser):
- from pypy.translator.platform import set_platform
+ from rpython.translator.platform import set_platform
set_platform('host', value)
def main_(argv=None):
diff --git a/pypy/bin/reportstaticdata.py b/pypy/bin/reportstaticdata.py
index 572219fe97..4836bdf1d7 100755
--- a/pypy/bin/reportstaticdata.py
+++ b/pypy/bin/reportstaticdata.py
@@ -28,7 +28,7 @@ Options:
"""
import autopath
-from pypy.translator.tool.staticsizereport import print_report
+from rpython.translator.tool.staticsizereport import print_report
def parse_options(argv):
kwds = {}
diff --git a/pypy/bin/translatorshell.py b/pypy/bin/translatorshell.py
index ab9014f461..2781da53ce 100755
--- a/pypy/bin/translatorshell.py
+++ b/pypy/bin/translatorshell.py
@@ -24,9 +24,9 @@ Try dir(snippet) for list of current snippets.
"""
import autopath, os, sys
-from pypy.translator.interactive import Translation
-from pypy.rpython.rtyper import *
-from pypy.rlib.rarithmetic import *
+from rpython.translator.interactive import Translation
+from rpython.rtyper.rtyper import *
+from rpython.rlib.rarithmetic import *
import py
@@ -53,8 +53,8 @@ if __name__ == '__main__':
setup_readline()
except ImportError, err:
print "Disabling readline support (%s)" % err
- from pypy.translator.test import snippet
- from pypy.rpython.rtyper import RPythonTyper
+ from rpython.translator.test import snippet
+ from rpython.rtyper.rtyper import RPythonTyper
if (os.getcwd() not in sys.path and
os.path.curdir not in sys.path):