Apocrypha

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.

Available in

OverlayNewestEbuildsLast activity
vowstar GitHub ↗ 0.5.1 1 25 h details ›
guru gitweb ↗ 0.5.1 1 46 h details ›

Versions & arches

VersionOverlay amd64arm64x86riscv Committed
0.5.1 guru amd64 testing arm64 testing x86 testing riscv testing view · download · history ↗
0.5.1 vowstar amd64 testing arm64 testing x86 testing riscv testing 25 d view · download · history ↗

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

Runtime dependencies of 0.5.1

show 9 lines
python_targets_python3_12? (
)
python_targets_python3_13? (
)
python_targets_python3_14? (
)