Installation

Using pip

chess-scanparser is available over PyPI. Run

pip install chess-scanparser

to install.

From source

  1. Clone the source repository from github.

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

    version = 'PACKAGE_VERSION'
    

    with

    version = 'v2024.6.24'
    
  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