Some styling

This commit is contained in:
Khaled Hosny 2019-08-03 13:55:34 +02:00 committed by GitHub
parent 5848c890cf
commit 06596cf907
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -6,21 +6,21 @@ you can install that this way:
sudo apt-get install libgirepository1.0-dev
```
And then run autogen.sh (if building from git), and then:
And then run `autogen.sh` (if building from git), and then:
```bash
./configure --with-gobject --enable-introspection
```
Make sure that gobject-introspection is enabled then in the final report.
Make sure that gobject-introspection is reported enabled then in the `configure` script output.
Compile and install.
Make sure you have the installation lib dir in LD_LIBRARY_PATH, as needed
Make sure you have the installation lib dir in `LD_LIBRARY_PATH`, as needed
for the linker to find the library.
Then make sure you also have GI_TYPELIB_PATH pointing to the resulting
$prefix/lib/girepository-* directory.
Then make sure you also have `GI_TYPELIB_PATH` pointing to the resulting
`$prefix/lib/girepository-*` directory.
Make sure you have pygobject installed. Then check that the following
import works in your Python interpreter:
@ -30,7 +30,7 @@ from gi.repository import HarfBuzz
```
If it does, you are ready to call HarfBuzz from Python! Congratulations.
See src/sample.py.
See [`src/sample.py`](src/sample.py).
The Python API will change. Let us know on the mailing list if you are
using it, and send lots of feedback.