Compare two version strings.

    :param minimum: The minimum valid version.
    :param version: The version to compare to.

    :returns: True if version is greater than minimum, False
              otherwise.

def version_greater(minimum, version):
    """
    Compare two version strings.

    :param minimum: The minimum valid version.
    :param version: The version to compare to.

    :returns: True if version is greater than minimum, False
              otherwise.
    """

    # Chop up the version strings
    minimum = [int(i) for i in minimum.split('.')]
    version = [int(i) for i in version.split('.')]

    # Compare the versions element by element
    for mini, vers in zip(minimum, version):
        if vers < mini:
            # If it's less than, we definitely don't match
            return False
        elif vers > mini:
            # If it's greater than, we definitely match
            return True

        # OK, the elements are equal; loop around and check out the
        # next element

    # All elements are equal
    return True