aboutsummaryrefslogtreecommitdiffstats
path: root/doc/developers.rst
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2010-03-18 19:57:25 +0100
committerOlivier Tilloy <olivier@tilloy.net>2010-03-18 19:57:25 +0100
commitbe2929c1a0b14666d6a0cb049bc99c6177ca5f1a (patch)
treec172c6e4d1299c275d5bc6c48450a0750b9d39b9 /doc/developers.rst
parentf02e64423e722b7b4f266464132f07440657e2ad (diff)
downloadpyexiv2-be2929c1a0b14666d6a0cb049bc99c6177ca5f1a.tar.gz
Document the cross-compilation script in the developers documentation.
Diffstat (limited to 'doc/developers.rst')
-rw-r--r--doc/developers.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/developers.rst b/doc/developers.rst
index b6fe88b..66ff1de 100644
--- a/doc/developers.rst
+++ b/doc/developers.rst
@@ -51,6 +51,9 @@ A typical list of packages to install on a Debian/Ubuntu system is::
Building and installing
#######################
+Linux
++++++
+
Building pyexiv2 is as simple as invoking ``scons`` in the top-level directory::
osomon@granuja:~/dev/pyexiv2$ scons
@@ -79,6 +82,21 @@ if `DESTDIR <http://www.gnu.org/prep/standards/html_node/DESTDIR.html>`_ is
specified on the command line when invoking ``scons install``, its value will be
prepended to each installed target file.
+Windows
++++++++
+
+The top-level directory of the development branch contains a shell script named
+``cross-compile.sh`` that retrieves all the dependencies required and
+cross-compiles pyexiv2 for Windows on a Linux host.
+Read the comments in the header of the script to know the pre-requisites.
+
+The result of the compilation is a DLL, ``libexiv2python.pyd``, in the build
+directory. This file and the ``pyexiv2`` folder in ``src`` should be copied to
+the system-wide site directory of a Python 2.6 setup
+(typically ``C:\Python26\Lib\site-packages\``) or to the user site directory
+(``%APPDATA%\Python\Python26\site-packages\``).
+
+
Documentation
#############