diff options
author | Steve Chaplin <stevech1097@yahoo.com.au> | 2009-08-26 13:05:05 +0800 |
---|---|---|
committer | Steve Chaplin <stevech1097@yahoo.com.au> | 2009-08-26 13:05:05 +0800 |
commit | c6d000b7082546aeb3b964a89465e72bf52f9809 (patch) | |
tree | 75f71194afa682dd15238ad5adfc96a4843b62f4 /INSTALL | |
parent | ac97a979a5a446749682effd127a6d9ba23ea26a (diff) | |
download | py2cairo-c6d000b7082546aeb3b964a89465e72bf52f9809.tar.gz |
Add waf files.
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 32 |
1 files changed, 19 insertions, 13 deletions
@@ -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 |