oqp.runtime

Helpers for locating OpenQP runtime files.

Functions

library_suffix()

resolve_oqp_root([package_root])

basis_search_paths([root, package_root])

Module Contents

library_suffix()
resolve_oqp_root(package_root=None)
Choose one root containing the matching header and native library.

Installed wheels keep the Python package, header, native library, and data
files together under the package directory. Source-tree development usually
keeps the Python package under pyoqp/oqp and runtime files under the repo
root. OPENQP_ROOT is retained only as a compatibility fallback for layouts
that cannot be inferred from the package location.
basis_search_paths(root=None, package_root=None)