Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 705 Bytes

README.rst

File metadata and controls

13 lines (8 loc) · 705 Bytes

PyMetabiosis

A bridge between PyPy and CPython that works by embedding CPython, its main purpose it to allow you to use any CPython module on PyPy (including C extensions).

  • PyMetabiosis tries to link with the python command available on $PATH, however you can override this (if you want to use a virtualenv and/or if "python" points to PyPy) by setting the PYTHON_EMBED environment variable to a virtualenv (or /usr)
  • Use pymetabiosis.module.import_module to import cpython modules on PyPy

Installation

Before pip installing the package, you must set the PYTHON_EMBED environment variable to a Python virtualenv (or /usr) and then do pip install pymetabiosis