aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcross-compile.sh10
-rw-r--r--src/SConscript2
-rw-r--r--win32-installer.nsi1
3 files changed, 7 insertions, 6 deletions
diff --git a/cross-compile.sh b/cross-compile.sh
index 473d965..26507ae 100755
--- a/cross-compile.sh
+++ b/cross-compile.sh
@@ -72,14 +72,14 @@ make -j3 install
cd ..
# python
-wget http://www.python.org/ftp/python/2.6.4/python-2.6.4.msi
-7z x python-2.6.4.msi -opython
+wget http://www.python.org/ftp/python/2.6.5/python-2.6.5.msi
+7z x python-2.6.5.msi -opython
7z x python/python -opython
# boost-python
-wget http://sourceforge.net/projects/boost/files/boost/1.42.0/boost_1_42_0.tar.bz2/download
-tar xf boost_1_42_0.tar.bz2
-cd boost_1_42_0
+wget http://sourceforge.net/projects/boost/files/boost/1.43.0/boost_1_43_0.tar.bz2/download
+tar xf boost_1_43_0.tar.bz2
+cd boost_1_43_0
echo "using gcc : : $COMPILER : <compileflags>-I$BASE/python <archiver>$ARCHIVER ;" >> tools/build/v2/user-config.jam
bjam install -j 3 --prefix=$BASE/boost --with-python toolset=gcc link=static
cd ..
diff --git a/src/SConscript b/src/SConscript
index a19d287..92d554e 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -54,7 +54,7 @@ else:
install_dir = os.path.join(dest_dir, python_lib_path[1:])
env.Install(install_dir, [libpyexiv2])
-modules = ['__init__', 'metadata', 'exif', 'iptc', 'xmp', 'utils']
+modules = ['__init__', 'metadata', 'exif', 'iptc', 'xmp', 'preview', 'utils']
env.Install(os.path.join(install_dir, 'pyexiv2'),
['pyexiv2/%s.py' % module for module in modules])
env.Alias('install', install_dir)
diff --git a/win32-installer.nsi b/win32-installer.nsi
index 0ac2449..b62f9c3 100644
--- a/win32-installer.nsi
+++ b/win32-installer.nsi
@@ -152,6 +152,7 @@ Section "pyexiv2"
File src\pyexiv2\exif.py
File src\pyexiv2\iptc.py
File src\pyexiv2\xmp.py
+ File src\pyexiv2\preview.py
File src\pyexiv2\utils.py
; Create the uninstaller and publish it in the registry