Installation ============ You can install rascaline in different ways depending on which language you plan to use it from. In all cases you will need a Rust compiler, which you can install using `rustup `_ or your OS package manager. .. _install-python-lib: Installing the Python module ---------------------------- For building and using the Python package, clone the repository using `git `_ and install rascaline using `pip `_. From source: .. code-block:: bash # Make sure you are using the latest version of pip pip install --upgrade pip git clone https://github.com/Luthaf/rascaline cd rascaline pip install . # alternatively, the same thing in a single command pip install git+https://github.com/Luthaf/rascaline Rascaline is also provided as prebuilt wheel which avoids the intermediate step of building the package with a Rust compiler from the source code. .. code-block:: bash pip install --upgrade pip pip install --extra-index-url https://luthaf.fr/nightly-wheels/ rascaline .. _install-c-lib: Installing the C/C++ library ---------------------------- This installs a C-compatible shared library that can also be called from C++, as well as CMake files that can be used with ``find_package(rascaline)``. .. code-block:: bash git clone https://github.com/Luthaf/rascaline cd rascaline/rascaline-c-api mkdir build cd build cmake .. make install The build and installation can be configures with a few cmake options, using ``-D