Commits

Maciej Fijalkowski  committed 13e58e9

more

  • Participants
  • Parent commits 285b814

Comments (0)

Files changed (2)

File pypyembed/README

 
 http://baroquesoftware.com/~fijal/pypy-1.9-shared-linux64.tar.bz2
 
+It's important that the checkout is somewhere *inside* the unpacked binary,
+otherwise it'll complain about lack of sys.prefix working.
 you need few libraries, including zlib and libffi. In case you run into
 difficulties with libffi.so.5, run it like this:
 

File pypyembed/embed.py

 pypy_call_function.argtypes = [c_char_p, c_long, POINTER(py_object)]
 pypy_call_function.restype = py_object
 
-pypy_main_startup(3, (c_char_p * 3)("pypy-c", "-c", "pass"))
+pypy_main_startup(3, (c_char_p * 3)("python", "-c", "pass"))
 
 def addr(obj):
     return addressof(py_object(obj))