@conf
def dso_ext(ctx):
    if ctx.is_linux():
        return '.so'
    elif ctx.is_darwin():
        #return '.dylib'
        return '.so'
    elif ctx.is_windows():
        return '.dll'
    elif ctx.is_freebsd():
        return '.so'
    else:
        raise RuntimeError(sys.platform % 'unhandled platform [%s]')
dataset/ETHPy150Open hwaf/hwaf/py-hwaftools/hwaf-system.py/dso_ext/swapped operands of `%`