Install

Quick install

  • Create and activate virtualenv

$ python -m venv shareloc-venv
$ source shareloc-venv/bin/activate
$ python3 -m pip install --upgrade pip setuptools
  • Install Shareloc from Pypi

Note that shareloc uses C++ bindings (Pybind11) that are compiled during the installation. If you encounter any problems, make sure to have a C++ compiler compatible with pybind11 or refer to the pybind11 documentation (https://pybind11.readthedocs.io/en/stable/installing.html).

$ pip install shareloc

Install from source

  • Clone Shareloc source code

$ git clone --depth 1 https://github.com/CNES/shareloc # For latest version
$ git clone --depth 1 --branch LAST_TAG https://github.com/CNES/shareloc/ # For last stable version
  • Install Shareloc from source

$ cd shareloc
$ make install  # Shareloc is installed in `venv` directory
  • Activate the virtual env

$ source venv/bin/activate