# clone the pybind11 library as well or you have to add pybind11 manually afterward
$ git clone --recurse-submodules git@github.com:dboyliao/pybind11_example.git
- OpenCV
cmake
$ virtualenv --python=$(which python) .venv
$ source .venv/bin/activate
$ python3 -m pip install -e .
The importable python library should be build and the package should be importable via:
import pybind11_example
# do stuff
see scripts/example.py
as an example