dll_path = '%s/build/dll/libs2v.so' % os.path.dirname(os.path.realpath(__file__)) if os.path.exists(dll_path): S2VLIB = _s2v_lib(sys.argv) else: S2VLIB = None