key4hep / EDM4hep

Generic event data model for HEP collider experiments
https://cern.ch/edm4hep
Apache License 2.0
25 stars 36 forks source link

Python bindings for mac not working due to different library suffix #338

Closed tmadlener closed 4 months ago

tmadlener commented 4 months ago

The python bindings are not working on macOS, because the suffix for shared libraries is dylib instead of .so. We currently explicitly go looking for .so though in our __init__.py:

https://github.com/key4hep/EDM4hep/blob/3d271d0ae614870d2118e5c078207642fb2d266b/python/edm4hep/__init__.py#L6-L8

It might be enough to simply remove the suffix and let ROOT do the OS specific handling, but I am not sure.