Metadata-Version: 2.1
Name: cytnx-core
Version: 0.1.0
Summary: Core component of cytnx
Author-Email: kaihsin <kaihsinwu@gmail.com>
Requires-Python: >=3.10
Requires-Dist: auditwheel-symbols>=0.1.13
Requires-Dist: auditwheel>=6.1.0
Requires-Dist: cibuildwheel>=2.22.0
Requires-Dist: numpy>=2.2.0
Requires-Dist: scipy-openblas64>=0.3.28.0.2
Description-Content-Type: text/markdown

# Cytnx-core
    This is the core compoment of the cytnx library

## Develop

### Package Management
We use [uv](https://docs.astral.sh/uv/getting-started/installation/) to manage the package.

```bash
    uv sync --all-extras --dev
```

To trigger recompile of C++ code:

```bash
    uv sync --reinstall
```

In addition, pre-commit tool should be installed

```bash
    uv run pre-commit install
```

Running pytest:

```bash
    uv run pytest
```

### Building Dependency:

- 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



## Compile directly the C++ package

```bash
   $mkdir build
   $cd build
   $cmake ../ -DCMAKE_INSTALL_PREFIX=<install destination>
```

## For DEV:

1. Please add corresponding .pyi for binded objects/modules to comply with linting.
