Metadata-Version: 2.4
Name: ngsolve_openblas
Version: 0.3.31.188.0.post1
Summary: Runtime OpenBLAS libraries for NGSolve wheels
Author: NGSolve contributors
License-Expression: BSD-2-Clause
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# ngsolve_openblas

`ngsolve_openblas` vendors the runtime OpenBLAS libraries from
`scipy-openblas64` and installs them into a top-level `netgen_mesher.libs`
directory.

The package is intended to be used as a runtime dependency for NGSolve
wheels that look for their OpenBLAS runtime libraries next to `netgen_mesher`.

## Contents

At wheel build time, the package copies dynamic libraries from the installed
`scipy-openblas64` build dependency:

- Linux: `libscipy_openblas64_.so` and its bundled runtime dependencies.
- Windows: `libscipy_openblas64_.dll`.

The copied files are recorded in the wheel under `netgen_mesher.libs/`.

Importing `ngsolve_openblas` immediately loads the bundled runtime libraries
with global symbol visibility, so downstream packages can resolve OpenBLAS
symbols after declaring this package as a runtime dependency.

## Development

Build a wheel with:

```bash
python -m pip install build
python -m build --wheel
```

The generated wheel is platform-specific and uses the platform tag from the
`scipy-openblas64` wheel used during the build.
