find-libpython
Finds the libpython associated with the current Python environment
find-libpython is a library designed to locate the path of the libpython dynamic library in the current Python environment. Supports various installation types including conda-managed, system-managed, and other configurations. Works across Windows, Mac OS/OS X, and major Linux distributions. find_libpython is both a script and a Python package. Usage as a script is useful for obtaining the libpython path in makefile-based build systems. It can also determine the path for embedding Python in processes written in other languages. Recommended usage is to call the script in a subprocess without arguments and parse the output.
homepage ↗ pypi: find-libpython github: ktbarrett/find_libpython
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| vowstar GitHub ↗ | 0.5.1 | 1 | 25 h | details › |
| guru gitweb ↗ | 0.5.1 | 1 | 46 h | details › |
Versions & arches
Use flags of 0.5.1
- test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
3 expansion flags (python targets, ABIs, cpu flags…)
- python_targets_python3_12
- python_targets_python3_13
- python_targets_python3_14