HEX
Server: Apache
System: Linux wp02.tdr-lab.com 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User: kusanagi (1001)
PHP: 7.4.23
Disabled: NONE
Upload Files
File: //usr/share/doc/pycairo-1.8.10/INSTALL
Install Procedure
-----------------
Waf
---
$ ./waf --help     # shows available waf options
$ ./waf configure  # use '--prefix=PREFIX' if needed
$ ./waf build
$ ./waf install


Unsupported alternative install methods
---------------------------------------
GNU Autotools
-------------
Using the same install method of install as cairo - GNU autotools.

$ python -c "import sys; print sys.prefix"
  # make a note of the python prefix
$ ./configure --prefix=<python_prefix>
$ make
$ make install       # may require superuser access

To build from git, use this line instead of the configure line above:
$ ./autogen.sh --prefix=<python_prefix>

If you're installing to another prefix than the one where Python is installed
Python will not be able to find the cairo module until you add
$prefix/lib/pythonX.Y/site-packages to the PYTHONPATH variable.


Python distutils
----------------
$ python setup.py install


Testing
-------
See test/README