[sword-devel] Versification comparison script (was Re: osis2mod unhappy with New Testament osisIDs)

Greg Hellings greg.hellings at gmail.com
Thu Jul 14 07:50:10 MST 2011

They live within the SWORD source.  If you have the swig executable
you can enable bindings. I prefer to do it with CMake like follows:

mkdir build && cd build
cmake -DSWORD_BINDINGS=Python <other CMake options> ..
make -j5 && sudo make install
pushd bindings/swig/python
python setup.py build
sudo python setup.py install

This should install the Python SWORD module to the system directory
you chose.  You can then import it with "import Sword".  You can also
build them for Perl with basically the same set of instructions -
change -DSWORD_BINDINGS=Python to -DSWORD_BINDINGS="Perl" or
-DSWORD_BINDINGS="Python Perl" if you want to build both sets of
bindings.  You can also build them with autotools, but I don't
remember the switches.


2011/7/14 Matěj Cepl <mcepl at redhat.com>:
> Dne 14.7.2011 02:11, Greg Hellings napsal(a):
>> I accept your challenge.  For those of you with the ability to build
>> and install the Python bindings, you will find an (our first, in fact)
>> example Python script named av11n.py. It does as you suggest for an
> Stupid question ... where does these bindings live?
> Matěj
> --
> http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz
> GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
> I am a Roman Catholic, so that I do not expect `history' to be
> anything but a `long defeat' -- though it contains (and in
> a legend may contain more clearly and movingly) some samples or
> glimpses of final victory.
>      -- J.R.R. Tolkien
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

More information about the sword-devel mailing list