Add support for defining the Python installation dir under embedding mode
Created originally on Bitbucket by Anonymous
I'm porting a boost::python wrapper library to CFFI-based embedding, so I can compile the module for different Python interpreters (CPython and PyPy) without touching my code. CFFI does the job pretty well, but I need to set the python home directory manually before starting Python, this means calling: Py_SetPythonHome() for CPython, and pypy_setup_home() for PyPy. Would it be possible to add support for setting this parameter under the embedding mode? Thanks in advance!