Heray-Was-Here
Server : Apache
System : Linux dal-shared-66.hostwindsdns.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : krnuyqrm ( 1183)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /opt/alt/python27/share/doc/alt-python27-pycairo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python27/share/doc/alt-python27-pycairo/INSTALL
Install method1 - preferred method
---------------
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 CVS, 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.


Install method2 - alternative install method
---------------
    1. Untar the .tar.gz file
    2. cd into the resulting directory
    3. python setup.py install

Hry