Installation¶
Clone LEoPart using git
into a subdiractory of you location of choice with:
git clone https://bitbucket.org/jakob_maljaars/leopart/
cd leopart
To compile and run LEoPart, the following dependencies are required:
A conda
environment is provided containing all the dependencies. To get this environment up-and-running:
conda create -f envs/environment.yml
conda activate leopart
Nexct, Compile the cpp
source code by running:
cd source/cpp
cmake . && make
And install as python package:
cd ../..
[sudo] python3 setup.py install
You now should be able to use leopart
from python
as:
import leopart as lp
Or any appropriate import syntax.