This is an example python package that extends boost wrapped C++ code.
- Boost Python 1.67.0
Built with Python 3.6.5 and used in venv created with virtualenvwrapper 4.8.2.
-
Update the paths to Boost Python in
setup.pyduring theExtensiondefinition. -
pip install .
pip uninstall pypackage
from pypackage import centaur
centaur.add([1,2], [1,2])
centaur.add([1,2, 3], [1,2, 3])Built and tested only on macOS. Linux is a target of interest, Windows is not.
Thomas.