Paths

Locate the packaged MAD-NG TPSA shared library and public headers.

Use core_library() and include_dir() when embedding the native TPSA library or compiling code against its C API. The build installs these artifacts alongside the Python package.

madng_tpsa.paths.core_library()

Absolute path to the madng_tpsa shared library.

Return type:

str

madng_tpsa.paths.lib_dir()

Absolute path to the directory containing the madng_tpsa shared library.

Return type:

str

madng_tpsa.paths.include_dir()

Directory holding the public MAD-NG GTPSA headers.

Return type:

str