Install library for python using openCV

I tried to build a dlib library and succeeded to build a shared library of dlib. But it just worked for C++. I am trying to find a way that is using dlib in python.

But it is too hard because I can't find any reference.