From CrossWire Bible Society
Jump to: navigation, search

Sword Bindings

SWIG bindings

In order to use libsword from Perl, Python or other scripting languages you need to compile the SWIG bindings section too.

 sudo apt-get install swig
 cd bindings/swig/package
 libtoolize --force
 make perlswig
 make perl_make
 cd perl
 sudo make install

Python 3 bindings

An official package exists to use libsword from Python.

Debian, Ubuntu, Mint
sudo apt-get install python3-sword