Cuba was written by Thomas Hahn and is distributed under the LGPL (see COPYING). Refer to the main website https://www.feynarts.de/cuba/
To build libcuba.so, run:
$ ./configure $ ./makeshared.sh # (instead of make)
To use Cuba with Python, see the PyCuba project and its documentation.