This is the core compoment of the cytnx library
We use uv to manage the package.
uv sync --all-extras --dev
To trigger recompile of C++ code:
uv sync --reinstall
In addition, pre-commit tool should be installed
uv run pre-commit install
Running pytest:
uv run pytest
- c++ compiler
- cmake 3.15+ (see CMakeList.txt, default 3.20)
- most of the deps should be able to install via pypi.
GPU:
- CUDA Toolit
$mkdir build
$cd build
$cmake ../ -DCMAKE_INSTALL_PREFIX=<install destination>
- Please add corresponding .pyi for binded objects/modules to comply with linting.