Metadata-Version: 2.4
Name: pgm-build-deps
Version: 2026.6.1.12
Summary: Repackaging of all the header-only libraries to build Power Grid Model.
Project-URL: GitHub, https://github.com/PowerGridModel/pgm-build-deps
Author-email: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
License-Expression: MPL-2.0
License-File: LICENSE
License-File: LICENSES/boost
License-File: LICENSES/cli11
License-File: LICENSES/doctest
License-File: LICENSES/eigen
License-File: LICENSES/msgpack
License-File: LICENSES/nlohmann_json
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: C++
Classifier: Topic :: File Formats
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.11
Description-Content-Type: text/markdown

<!--
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>

SPDX-License-Identifier: MPL-2.0
-->

# pgm-build-deps

A proxy Python package to host all header-only libraries which are needed to build Power Grid Model.

The GitHub Actions automatically fetches the latest versions of the header-only libraries and updates the `pgm-build-deps` package.

## Installation and Usage

This package should be part of build dependencies of the Power Grid Model project.

### As build dependency for Python

```toml
[build-system]
requires = [
    "pgm-build-deps"
]
```

In the build process, the entry point `cmake.root` will be installed into the build environment. The build backend, e.g., [`scikit-build-core`](https://github.com/scikit-build/scikit-build-core), can retrieve the `cmake` search paths and use them when invoking `cmake`.

### Load into CI for C++ build

```yaml
    steps:
      - name: Install uv
        uses: astral-sh/setup-uv@v5
      
      - name: Install pgm-build-deps
        run: |
          uv tool install pgm-build-deps
          pgm-build-setup-ga-ci
```

After setting this in your GitHub Actions CI, the follow-up `cmake` calls will find the packages.

## License

The source code of this package is licensed under the [MPL-2.0](https://spdx.org/licenses/MPL-2.0.html) license.

The header-only libraries are licensed under their respective licenses, which can be found in the [`LICENSES`](LICENSES) directory of this package.
