PyCairo provides Python bindings to Cairo.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://github.com/pygobject/pycairo/releases/download/v1.28.0/pycairo-1.28.0.tar.gz
Download SHA256 Sum: 26ec5c6126781eb167089a123919f87baa2740da2cca9098be8b3a6b91cc5fbc
Download MD5 sum: f1bb0ee59ddd78a452f27ffda3ed68ae
Download size: 1,440.1 KB
Estimated disk space required: 2,826.9 KB
Estimated build time: less than 0.1 SBU
Prepare PyCairo by running the following commands:
meson setup build --prefix=/usr --buildtype=release
ninja -C build
![[Note]](../images/note.png)
To run the tests, this package requires the optional pytest module. If it is installed, run the tests by running:
ninja -C build test
Now Install the package, as the root user:
ninja -C build install