pip
CHAP is available over PyPI and can be installed with:
pip install ChessAnalysisPipeline
conda
CHAP is also available over conda-forge, allowing installation with, e.g.:
conda install -c conda-forge chessanalysispipeline
git clone https://github.com/CHESSComputing/ChessAnalysisPipeline.git
cd ChessAnalysisPipeline
setup.py
, replace:
```{literalinclude} /../setup.py
:language: python
:start-after: ‘[set version]’
:end-before: ‘[version set]’
with
```python
version = 'PACKAGE_VERSION'
python -m venv venv
source venv/bin/activate
python setup.py install
install/bin/CHAP --help
to confirm the package was installed correctly.
If you need to install it in your local installation area via pip, run steps 1 to 3 from above and then run the following steps:
pip install wheel
python setup.py clean sdist bdist_wheel
ls -1 dist
which should return:
ChessAnalysisPipeline-0.0.16-py3-none-any.whl
ChessAnalysisPipeline-0.0.16.tar.gz
pip install --no-index --find-links=dist/ ChessAnalysisPipeline
pip list | grep Chess
which should return:
ChessAnalysisPipeline 0.0.16
install/bin/CHAP --help
to confirm the package was installed correctly.