Commit 8bc71c3d authored by Vincent Michel's avatar Vincent Michel

Support linux when loading the library

parent ed34e67d
"""CFFI binding."""
import os
import cffi
ffi = cffi.FFI()
......@@ -48,4 +49,4 @@ int xiaSetLogOutput(char *fileName);
void xiaGetVersionInfo(int *rel, int *min, int *maj, char *pretty);
""")
handel = ffi.dlopen("handel.dll")
handel = ffi.dlopen('handel.dll' if os.name == 'nt' else 'libhandel.so')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment