[pypy-commit] pypy default: make rpython insert stuff on path

fijal noreply at buildbot.pypy.org
Sun Jan 20 15:16:44 CET 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r60236:f3801ca4d8b7
Date: 2013-01-20 16:16 +0200
http://bitbucket.org/pypy/pypy/changeset/f3801ca4d8b7/

Log:	make rpython insert stuff on path

diff --git a/rpython/bin/rpython b/rpython/bin/rpython
--- a/rpython/bin/rpython
+++ b/rpython/bin/rpython
@@ -7,7 +7,8 @@
 run with --help for more information
 """
 
-import sys
+import sys, os
+sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
 from rpython.translator.goal.translate import main
 
 # no implicit targets


More information about the pypy-commit mailing list