Commits

Edd Barrett  committed f623ba2

(RichardN, Edd) Add the jitviewer path to PYTHONPATH automatically.

  • Participants
  • Parent commits 7307df4
  • Branches argparse-collect

Comments (0)

Files changed (1)

File bin/jitviewer.py

 #!/usr/bin/env pypy
 import sys
+import os.path
+
+script_path = os.path.abspath(__file__)
+pythonpath = os.path.dirname(os.path.dirname(script_path))
+sys.path.append(pythonpath)
+
 from _jitviewer.app import main
 main(sys.argv)