Author: Alexander Hesse <[email protected]>
Branch: split-rpython
Changeset: r59764:69a40a56749f
Date: 2013-01-05 19:10 +0100
http://bitbucket.org/pypy/pypy/changeset/69a40a56749f/

Log:    I'm sorry :( py.py -> pyinteractive.py

diff --git a/pypy/bin/py.py b/pypy/bin/pyinteractive.py
rename from pypy/bin/py.py
rename to pypy/bin/pyinteractive.py
--- a/pypy/bin/py.py
+++ b/pypy/bin/pyinteractive.py
@@ -9,7 +9,8 @@
 import os, sys
 import time
 
-sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), 
'..', '..')))
+if os.path.exists(os.path.join(os.path.dirname(__file__), '..', '..', 'pypy', 
'__init__.py')):
+    sys.path.insert(0, 
os.path.realpath(os.path.join(os.path.dirname(__file__), '..', '..')))
 
 import pypy
 from pypy.tool import option
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to