Installation#

Dependencies#

LBParticles depends on numpy and scipy.

These will be installed automatically when you install LBParticles through pip.

Using pip#

The easiest way to install the most recent stable version of lbparticles is with pip:

python -m pip install LBParticles

From source#

Alternatively, you can get the source by downloading a tarball or cloning the git repository:

git clone https://github.com/lbparticles/lbparticles.git

Once you’ve downloaded the source, you can navigate into the root source directory and run:

python -m pip install .

Running Tests#

If you installed from source, you can run the unit tests. From the root of the source directory, run:

pytest