diff options
author | Steve Chaplin <stevech1097@yahoo.com.au> | 2009-08-06 21:01:59 +0800 |
---|---|---|
committer | Steve Chaplin <stevech1097@yahoo.com.au> | 2009-08-06 21:01:59 +0800 |
commit | ca09d078984c5310f5052477da1ae0f65d017a92 (patch) | |
tree | 5deefac73e729e373809bdd8f462752dc7747da1 /INSTALL | |
download | py2cairo-ca09d078984c5310f5052477da1ae0f65d017a92.tar.gz |
Initial commit
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -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=<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 + + +Testing +------- +testing uses py.test from pylib +http://codespeak.net/py/dist/ + +$ cd test +$ py.test |