summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorSteve Chaplin <stevech1097@yahoo.com.au>2009-08-26 13:05:05 +0800
committerSteve Chaplin <stevech1097@yahoo.com.au>2009-08-26 13:05:05 +0800
commitc6d000b7082546aeb3b964a89465e72bf52f9809 (patch)
tree75f71194afa682dd15238ad5adfc96a4843b62f4 /INSTALL
parentac97a979a5a446749682effd127a6d9ba23ea26a (diff)
downloadpy2cairo-c6d000b7082546aeb3b964a89465e72bf52f9809.tar.gz
Add waf files.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL32
1 files changed, 19 insertions, 13 deletions
diff --git a/INSTALL b/INSTALL
index 09ded69..0867878 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,26 +1,32 @@
-Install method1 - preferred method
----------------
+GNU Autotools - install method 1 - 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
+ $ 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>
+ $ ./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
+Waf - install method 2 - alternative install method
+----------------------
+$ ./waf --help # shows available waf options
+$ ./waf configure
+$ ./waf build
+$ ./waf install
+
+
+Python distutils - install method 3 - alternative install method
+-----------------------------------
+$ python setup.py install
Testing