Commits

Maciej Fijalkowski committed 8488aa9

Backed out changeset e0b82d426d01 - it actually does not run on cpython

Comments (0)

Files changed (1)

 pythonpath = os.path.dirname(os.path.dirname(script_path))
 sys.path.append(pythonpath)
 
+# Check we are running with PyPy first.
+if not '__pypy__' in sys.builtin_module_names:
+    from _jitviewer.misc import failout
+    failout("jitviewer must be run with PyPy")
+
 from _jitviewer.app import main
 main(sys.argv)