diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2007-01-01 19:40:18 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2007-01-01 19:40:18 +0100 |
commit | 00d63e7995132274b63cae056c084ae2df8cbba6 (patch) | |
tree | 73ca13ae38652c6a71ab1dd8ad1c3692c5ee6679 /README | |
parent | 2f5e04af9af49546a70c0bcbbe0df15d1cafac41 (diff) | |
download | pyexiv2-00d63e7995132274b63cae056c084ae2df8cbba6.tar.gz |
Updated the README documentation section about compilation and installation of the module.
Diffstat (limited to 'README')
-rw-r--r-- | README | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -19,17 +19,21 @@ pyexiv2 depends on the following libraries: Of course it needs a Python interpreter to run. -Building and using +Building and installing ======================= -You will need scons (http://www.scons.org/) to build the library. -To do so, simply cd to the src directory, and run scons: +You will need scons (http://www.scons.org/) to build and install the library. +To do so, while in the top-level directory (e.g. '/home/johndoe/pyexiv2', which +should contain a file named 'SConstruct'), run the following commands: $ scons + $ scons install # as administrator, e.g. sudo scons install -The result is a dynamic library, libpyexiv2.so, that is a Python module called -libpyexiv2. This module is a low-level binding. It is in turn used in a higher -level module, pyexiv2. +The result of the build is a dynamic library, libpyexiv2.so, that is a Python +module called libpyexiv2. This module is a low-level binding. It is in turn used +in a higher level module, pyexiv2. +The install command installs the two modules in your site-specific directory for +Python modules (e.g. '/usr/lib/python2.4/' under Linux). To use pyexiv2 in your scripts, simply include the following line: |