~osomon/pyexiv2/pyexiv2-0.3

3 by Olivier Tilloy
Added a README file for general information about the project.
1
pyexiv2
2
*******
3
291 by Olivier Tilloy
Updated README.
4
Welcome to pyexiv2, a python binding to exiv2 (http://exiv2.org/), the C++
5
library for manipulation of EXIF, IPTC and XMP image metadata.
6
It is a python module that allows your python scripts to read and write
7
metadata (EXIF, IPTC, XMP, thumbnails) embedded in image files
8
(JPEG, TIFF, ...).
3 by Olivier Tilloy
Added a README file for general information about the project.
9
10
Point your browser to http://exiv2.org/metadata.html for the complete metadata
11
tag reference.
12
13
244 by Olivier Tilloy
Updated README
14
Build dependencies
15
==================
3 by Olivier Tilloy
Added a README file for general information about the project.
16
17
pyexiv2 depends on the following libraries:
18
244 by Olivier Tilloy
Updated README
19
 * boost.python (http://www.boost.org/libs/python/doc/index.html)
20
 * exiv2 (http://www.exiv2.org/)
21
22
It uses SCons (http://www.scons.org/) as a build system.
23
24
Some examples in src/ use PyGTK (http://www.pygtk.org/) and PyQt
25
(http://www.riverbankcomputing.co.uk/software/pyqt/) to display image previews,
26
those are optional dependencies.
27
28
This is a typical list of build dependencies for a Debian/Ubuntu system:
29
351 by Olivier Tilloy
Updated documentation: pyexiv2 0.3 requires Python ≥ 2.6,
30
 * python-all-dev ( 2.6)
244 by Olivier Tilloy
Updated README
31
 * scons
291 by Olivier Tilloy
Updated README.
32
 * libexiv2-dev ( 0.19)
33
 * libboost-python-dev ( 1.35)
3 by Olivier Tilloy
Added a README file for general information about the project.
34
58 by Olivier Tilloy
Updated the README file and the todo list.
35
8 by Olivier Tilloy
Updated the README documentation section about compilation and installation of the module.
36
Building and installing
3 by Olivier Tilloy
Added a README file for general information about the project.
37
=======================
38
244 by Olivier Tilloy
Updated README
39
To build and install the library, while in the top-level directory
40
(e.g. '~/dev/pyexiv2', which should contain a file named 'SConstruct'),
41
run the following commands:
42
43
 $ scons
44
 $ scons install # as administrator, e.g. `sudo scons install`
45
46
The result of the build is a dynamic library, libexiv2python.so, in the build/
47
directory. This is the low-level binding. It is in turn used in a higher level
48
module, pyexiv2.
8 by Olivier Tilloy
Updated the README documentation section about compilation and installation of the module.
49
The install command installs the two modules in your site-specific directory for
339.1.6 by Olivier Tilloy
Updated references to the latest supported version of Python in the documentation.
50
Python modules (e.g. '/usr/lib/python2.7/dist-packages/' on Linux).
244 by Olivier Tilloy
Updated README
51
52
To use pyexiv2 in your scripts, simply import the pyexiv2 module.
3 by Olivier Tilloy
Added a README file for general information about the project.
53
54
58 by Olivier Tilloy
Updated the README file and the todo list.
55
Documentation
56
=============
57
58
Please refer to the internal documentation for a guide on how to use pyexiv2.
59
In a python interpreter, type:
60
244 by Olivier Tilloy
Updated README
61
 >>> import pyexiv2
62
 >>> help(pyexiv2)
58 by Olivier Tilloy
Updated the README file and the todo list.
63
291 by Olivier Tilloy
Updated README.
64
Alternatively, you can generate HTML documentation using sphinx:
65
66
 $ scons doc
67
68
The generated documentation can be found in doc/_build/.
58 by Olivier Tilloy
Updated the README file and the todo list.
69
70
3 by Olivier Tilloy
Added a README file for general information about the project.
71
License
72
=======
73
339.1.6 by Olivier Tilloy
Updated references to the latest supported version of Python in the documentation.
74
Copyright (C) 2006-2011 Olivier Tilloy <olivier@tilloy.net>
3 by Olivier Tilloy
Added a README file for general information about the project.
75
76
pyexiv2 is free software; you can redistribute it and/or modify it under
77
the terms of the GNU General Public License as published by the Free
78
Software Foundation; either version 2 of the License, or (at your
79
option) any later version.
80
81
pyexiv2 is distributed in the hope that it will be useful, but WITHOUT
82
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
83
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
84
for more details.
85
86
You should have received a copy of the GNU General Public License
87
along with pyexiv2; if not, write to the Free Software
88
Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
58 by Olivier Tilloy
Updated the README file and the todo list.
89
90
91
Developers
92
==========
93
291 by Olivier Tilloy
Updated README.
94
pyexiv2 is Free Software, meaning that you are encouraged to play with it,
244 by Olivier Tilloy
Updated README
95
modify it to suit your needs and contribute back your changes and bug fixes.
96
97
The bug tracking system and the main bazaar branch are hosted at Launchpad:
98
99
 https://launchpad.net/pyexiv2
100
101
To get a working copy of the latest version of the code, you need to have bazaar
291 by Olivier Tilloy
Updated README.
102
(http://bazaar.canonical.com/) installed:
244 by Olivier Tilloy
Updated README
103
104
 $ bzr branch lp:pyexiv2
58 by Olivier Tilloy
Updated the README file and the todo list.
105
106
Feedback, bug reports and patches are welcome!
244 by Olivier Tilloy
Updated README
107
108
Join the pyexiv2-developers team on Launchpad to be informed of the latest
109
updates and discuss changes and new features on the mailing list: register at
110
https://launchpad.net/~pyexiv2-developers.
111