#  tests for freexl-1.0.6-ha8e266a_0 (this is a generated file);
print('===== testing package: freexl-1.0.6-ha8e266a_0 =====');
print('running run_test.py');
#  --- run_test.py (begin) ---
# just load libfreexl using ctypes
import os
import sys
import ctypes

if sys.platform == "win32":
    path = os.path.expandvars("%PREFIX%\Library\\bin\\freexl.dll")
    libfreexl = ctypes.CDLL(path)
elif sys.platform == "darwin":
    # LD_LIBRARY_PATH not set on OSX or Linux
    path = os.path.expandvars("$PREFIX/lib/libfreexl.dylib")
    libfreexl = ctypes.CDLL(path)
else:
    path = os.path.expandvars("$PREFIX/lib/libfreexl.so")
    libfreexl = ctypes.CDLL(path)
    #  --- run_test.py (end) ---

print('===== freexl-1.0.6-ha8e266a_0 OK =====');
