summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorSteve Chaplin <stevech1097@yahoo.com.au>2009-08-26 18:49:55 +0800
committerSteve Chaplin <stevech1097@yahoo.com.au>2009-08-26 18:49:55 +0800
commit06f2d1063409fa5b1974ec033c746a549839d237 (patch)
tree8f58a58fbfd7d7c492067d4d03aea490eea44b2d /INSTALL
parentce4812e74d101ad9c7dc096aa9467d142c00d081 (diff)
Pycairo 1.8.8 release
Create config.h in 'src' dir. Unify the 3 install methods so they all use config.h to get version info.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL36
1 files changed, 18 insertions, 18 deletions
diff --git a/INSTALL b/INSTALL
index 0867878..8592e2c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,31 +1,31 @@
-GNU Autotools - install method 1 - preferred method
---------------------------------
+Waf - recommended install method
+---
+$ ./waf --help # shows available waf options
+$ ./waf configure
+$ ./waf build
+$ ./waf install
+
+
+GNU Autotools - alternative install 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.
-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 distutils - alternative install method
+----------------
$ python setup.py install