Installation ============ You can install featomic 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 featomic 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/metatensor/featomic cd featomic pip install . # alternatively, the same thing in a single command pip install git+https://github.com/metatensor/featomic Featomic 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/ featomic .. _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(featomic)``. .. code-block:: bash git clone https://github.com/metatensor/featomic cd featomic/featomic-c-api mkdir build cd build cmake .. make install The build and installation can be configures with a few cmake options, using ``-D