Python interface
Radler provides an interface via the radler
module. In order to build
this module, make sure the cmake configuration option BUILD_PYTHON_BINDINGS
is turned ON
.
After successfully compiling and installing the python bindings, you should update your LD_LIBRARY_PATH
and your PYTHONPATH
as follows:
export LD_LIBRARY_PATH=<installpath>/lib/:$LD_LIBRARY_PATH
export PYTHONPATH=<installpath>/lib/python<VERSION_MAJOR>.<VERSION_MINOR>/site-packages:$PYTHONPATH
where VERSION_MAJOR
and VERSION_MINOR
depend upon the specific version of python on your system.
The radler
module can now be imported in python with:
import radler