Installation#

The lintegrate library requires that you have the GNU Scientific Library (GSL) installed on your system. In particular, the development version of the library is required, so that the header files are present.

For Linux systems, GSL can be installed with:

For Mac OS, GSL can be installed with:

$ brew install gsl

For Windows you can install lintegrate via Conda, which will automatically include dependencies such as GSL.

Installing from source#

The C library of lintegrate can be installed on Linux and Mac OS systems from the source hosted on GitHub. This requires the SCons software construction tool. The source repository can be cloned with:

After cloning, build and install the library with:

$ sudo scons
$ sudo scons install

Python package#

The Python package can also be installed by running:

$ pip install .

PyPI#

To install lintegrate using pip from the PyPI repository GSL must be already installed on your system. lintegrate can then be installed with:

$ pip install lintegrate

Conda#

lintegrate can be installed on Linux, Mac OS, or Windows, without having to pre-install any dependencies by using the conda-forge version of the package. This can be done via the Anaconda Navigator or on the command line using:

$ conda install -c conda-forge lintegrate

Contributing#

Contributions to lintegrate, either to the C library or the Python wrapper, are welcome. Issues can be raised via the GitHub issue tracker and pull requests are encouraged.