def parse_version(*args):
    """
    Returns a sortable version

    Arguments:
    args -- a string, tuple, or list of arguments to be joined with "."'s
    """
    v = None
    if len(args) <= 1:
        a = args[0]
        if isinstance(a, tuple):
            v = '.'.join(str(x) for x in a)
        else:
            v = str(a)
    else:
        v = '.'.join(str(a) for a in args)

    if v.startswith('v'):
        v = v[1:]

    try:
        return pkg_resources.SetuptoolsVersion(v)
    except AttributeError:
        return pkg_resources.parse_version(v)

### Import the other utility functions
dataset/ETHPy150Open NVIDIA/DIGITS/digits/utils/__init__.py/parse_version/operator `==` -> `<=`