From ca09d078984c5310f5052477da1ae0f65d017a92 Mon Sep 17 00:00:00 2001 From: Steve Chaplin Date: Thu, 6 Aug 2009 21:01:59 +0800 Subject: Initial commit --- INSTALL | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 INSTALL (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..09ded69 --- /dev/null +++ b/INSTALL @@ -0,0 +1,32 @@ +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= + $ make + $ make install # may require superuser access + +To build from CVS, use this line instead of the configure line above: + $ ./autogen.sh --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 + + +Testing +------- +testing uses py.test from pylib +http://codespeak.net/py/dist/ + +$ cd test +$ py.test -- cgit v1.2.1