1. Pypy
  2. Untitled project
  3. pypy

Commits

Armin Rigo  committed 193acd4

Add a realpath() here to support symlinks to "rpython".

  • Participants
  • Parent commits 4de14e4
  • Branches default

Comments (0)

Files changed (1)

File rpython/bin/rpython

View file
 """
 
 import sys, os
-sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
+sys.path.insert(0, os.path.dirname(os.path.dirname(
+                       os.path.dirname(os.path.realpath(__file__)))))
 from rpython.translator.goal.translate import main
 
 # no implicit targets