Blame README.python

Packit 874993
To enable HarfBuzz bindings for Python among other languages, make sure
Packit 874993
you have latest version of gobject-introspection available.  On Ubuntu,
Packit 874993
you can install that this way:
Packit 874993
Packit 874993
  sudo apt-get install libgirepository1.0-dev
Packit 874993
Packit 874993
And then run autogen.sh (if building from git), and then:
Packit 874993
Packit 874993
  ./configure --with-gobject --enable-introspection
Packit 874993
Packit 874993
Make sure that gobject-introspection is enabled then in the final report.
Packit 874993
Packit 874993
Compile and install.
Packit 874993
Packit 874993
Make sure you have the installation lib dir in LD_LIBRARY_PATH, as needed
Packit 874993
for the linker to find the library.
Packit 874993
Packit 874993
Then make sure you also have GI_TYPELIB_PATH pointing to the resulting
Packit 874993
$prefix/lib/girepository-* directory.
Packit 874993
Packit 874993
Make sure you have pygobject installed.  Then check that the following
Packit 874993
import works in your Python interpretter:
Packit 874993
Packit 874993
  from gi.repository import HarfBuzz
Packit 874993
Packit 874993
If it does, you are ready to call HarfBuzz from Python!  Congratulations.
Packit 874993
See src/sample.py.
Packit 874993
Packit 874993
The Python API will change.  Let us know on the mailing list if you are
Packit 874993
using it, and send lots of feedback.