Installation

Using pip

CHAP is available over PyPI. Run

pip install ChessAnalysisPipeline

to install.

Using conda

CHAP is available over conda-forge. Run

conda install chessanalysispipeline

to install.

From source

  1. Clone the CHAP repository.

    git clone https://github.com/CHESSComputing/ChessAnalysisPipeline.git
    cd ChessAnalysisPipeline
    
  2. Set a valid version number. In setup.py, replace:

    version = 'PACKAGE_VERSION'
    

    with

    version = 'v0.0.16'
    
  3. Setup a local installation prefix for your version of python

    mkdir -p install/lib/python<yourpythonversion>/site-packages
    export PYTHONPATH=$PWD/install/lib/python<yourpythonversion>/site-packages
    
  4. Use the setup script to install the package

    python setup.py install --prefix=$PWD/install
    
  5. Try running

    install/bin/CHAP --help
    

    to confirm the package was installed correctly.