.. toctree:: :maxdepth: 1 :titlesonly: :hidden: changelog Tutorial <tutorial> reference/index pycairo_c_api resources faq
.. currentmodule:: cairo
- Git repo:
- Bug tracker:
- Mailing list:
See the ":ref:`reference_index`" for further details.
To use the pycairo library:
To build/install the library:
python2/3 setup.py build python2/3 setup.py install
To run the tests:
python2/3 setup.py test
The Python 2 version supports xpyb integration which is disabled by default. To enable, build as follows:
python2 setup.py build --enable-xpyb # and for running tests: python2 setup.py test --enable-xpyb
For examples of pycairo code see the 'examples' directory that comes with the pycairo distribution.
For author information see the git history as well as the now deleted "ChangeLog" file in the git history.