Files
BagheeraSearch/baloo_wrapper/__init__.py
Ignacio Serantes 3fb55ee4f3 First commit
2026-03-22 18:13:22 +01:00

10 lines
206 B
Python

import ctypes
import glob
import os
_current_dir = os.path.dirname(__file__)
_so_files = glob.glob(os.path.join(_current_dir, "baloo_wrapper*.so"))
if _so_files:
baloo_lib = ctypes.CDLL(_so_files[0])