First commit
This commit is contained in:
9
baloo_wrapper/__init__.py
Normal file
9
baloo_wrapper/__init__.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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])
|
||||
Reference in New Issue
Block a user