Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.6 KB

setup.rst

File metadata and controls

49 lines (34 loc) · 1.6 KB

Installing cliquematch

cliquematch uses pybind11_ to provide Python wrappers. Internally, the core clique search algorithm is implemented in C++11, simple template classes are used to provide flexibility for applications, and Eigen_ is used to provide fast access to numpy arrays.

Installing from a wheel

PyPI wheels are available for Linux and Windows.

pip install cliquematch>=2.1.0

Installing from source

  1. cliquematch requires pybind11_ (v2.2 or newer) for its setup:
pip3 install pybind11
  1. cliquematch requires Eigen_ (v3.3.7 or newer) as part of its setup.
    • You can clone the Github repo via git clone --recursive to get Eigen_.
    • If you already have an existing version of Eigen_ or have downloaded it separately, set the EIGEN_DIR environment variable to the folder containing Eigen_ before compilation.
  2. A C++11 compatible compiler must be available for the installation:
    • On Linux, gcc is called with --std=c++11 (builds with gcc 4.8.2 for manylinux1 wheels).
    • On Windows, Visual Studio 2015 Update 3 (MSVC 14.0 runtime) or later is needed.
    • Note: Installing under Windows+MinGW has not been tested.