[pypy-commit] pypy default: Merged in xando/pypy (pull request #237)
arigo
noreply at buildbot.pypy.org
Tue May 6 13:20:17 CEST 2014
Author: Armin Rigo <armin.rigo at gmail.com>
Branch:
Changeset: r71330:55006afd91fe
Date: 2014-05-06 13:19 +0200
http://bitbucket.org/pypy/pypy/changeset/55006afd91fe/
Log: Merged in xando/pypy (pull request #237)
Making rpythondir more robust,handle rpython path symlinking
diff --git a/rpython/tool/version.py b/rpython/tool/version.py
--- a/rpython/tool/version.py
+++ b/rpython/tool/version.py
@@ -2,7 +2,7 @@
import os
from subprocess import Popen, PIPE
import rpython
-rpythondir = os.path.dirname(os.path.abspath(rpython.__file__))
+rpythondir = os.path.dirname(os.path.realpath(rpython.__file__))
rpythonroot = os.path.dirname(rpythondir)
default_retval = '?', '?'
More information about the pypy-commit
mailing list