ReadMe.txt
PyExiv2 for Linux, MacOS and Windows
------------------------------------
You will need to install Python 2.5 (2.5.2 was used for development)
On Linux, I recommend you download and build Python 2.5 from source.
For Mac and Windows users, I used the binary installatation of Python 2.5.2 from ActiveState.
Files in this archive
---------------------
You should the following directories:
1 platform binaries (linux, macosx and windows)
These directories contain the platform code already compiled:
linux/site-packages
+ linux/lib
or windows/site-packages
or macosx/site-packages
+ macosx/lib
More detailed installation instructions are given below.
2 scripts
This is cross platform python code. Locate anywhere conveniently on your path.
Linux : /usr/local/bin
MacOSX : /usr/local/bin
Windows : c:\windows\system32
gps.py
surd.py
3 test
These are some test files so you can check that your installation is working.
Put into any convenient directory (doesn't matter)
For Linux : /home/<username>/test
For MacOSX : /Users/<username>/test
For Windows : c:\test
---- here's my output (on MacOSX 10.5.2) ----
delta from tz to UTC = 7:0:0 hrs
reading ZinRei.gpx
number of timepoints = 984
camera time nearest gps latitude longitude elev photofile
2008-03-29T15:40:48Z 2008-03-29T15:46:55Z 37.18'24"N 122.04'25"W 129.9 /Users/rmills/PyExiv2Release/pyexiv2/test/Robin.jpg
2008-03-29T16:44:55Z 2008-03-29T16:44:58Z 37.17'11"N 122.04'39"W 162.6 /Users/rmills/PyExiv2Release/pyexiv2/test/Reservoir.jpg
2008-03-29T17:04:57Z 2008-03-29T17:04:57Z 37.17'40"N 122.04'22"W 169.3 /Users/rmills/PyExiv2Release/pyexiv2/test/Trail.jpg
572 /Users/rmills/PyExiv2Release/pyexiv2/test>
Linux installation
------------------
1 site-packages copy to /usr/local/lib/python2.5/site-packages
libpyexiv2.so
pyexiv2.py
2 lib Destination: /usr/local/lib
(or somewhere on your PATH of LD_LIBRARY_PATH)
libexpat.so.1.5.2
libboost_python-gcc41-mt.so
libexiv2.so.2.1.0
You make also need the following links:
14 /usr/local/lib> links | grep -e expat -e python -e exiv
lrwxrwxrwx 1 root 39 2008-04-09 22:40 libboost_python-gcc41-mt-1_35.so -> libboost_python-gcc41-mt-1_35.so.1.35.0
lrwxrwxrwx 1 root 17 2008-04-09 22:03 libexiv2.so -> libexiv2.so.2.1.0
lrwxrwxrwx 1 root 17 2008-04-09 22:03 libexiv2.so.2 -> libexiv2.so.2.1.0
lrwxrwxrwx 1 root 17 2008-04-09 21:08 libexpat.so -> libexpat.so.1.5.2
lrwxrwxrwx 1 root 17 2008-04-09 21:08 libexpat.so.1 -> libexpat.so.1.5.2
15 /usr/local/lib>
MacOSX installation
-------------------
I've provided a 'universal' 32 bit build which is suitable for ppc and intel running Tiger 10.4.11 and later.
1 site-packages Destination: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages
pyexiv2.py
libpyexiv2.so
2 lib Destination: /usr/local/lib
(or somewhere on your PATH or DYLD_LIBRARY_PATH)
libexiv2.2.1.0.dylib
libexpat.1.5.2.dylib
libintl.8.0.2.dylib
You may also need the following links:
383 /usr/local/lib> links | egrep -e python -e exiv2 -e boost -e intl
lrwxr-xr-x 1 root wheel 19 Apr 9 16:50 libintl.8.dylib -> libintl.8.0.2.dylib
lrwxr-xr-x 1 root wheel 19 Apr 9 16:50 libintl.dylib -> libintl.8.0.2.dylib
lrwxr-xr-x 1 root wheel 20 Mar 28 16:07 libexiv2.2.dylib -> libexiv2.2.1.0.dylib
lrwxr-xr-x 1 root wheel 20 Mar 28 16:07 libexiv2.dylib -> libexiv2.2.1.0.dylib
384 /usr/local/lib>
Windows installation
--------------------
1 site-packages Destination: c:\Python25\Lib\site-packages
boost_python-vc80-mt-1_35.dll
libexpat.dll
libpyexiv2.pyd
pyexiv2.py
Building from source
--------------------
If you want to build all of this from source, you'll find my build notes at: http://www.clanmills.com/articles/gpsexifdata
Support, Questions, Help, Suggestions, Feedback
-----------------------------------------------
robin@clanmills.com
http://www.clanmills.com
Revision History
----------------
20080422 rmills Removed python25/python.exe
20080416 rmills Initial version
##
# $Id: //depot/PyExiv2Release/ReadMe.txt#8 $
# $Header: //depot/PyExiv2Release/ReadMe.txt#8 $
# $Date: 2008/04/22 $
# $DateTime: 2008/04/22 18:26:42 $
# $Change: 117 $
# $File: //depot/PyExiv2Release/ReadMe.txt $
# $Revision: #8 $
# $Author: rmills $
##