'See if this distribution is the same as another.
:param other: The distribution to compare with. To be equal to one
another. distributions must have the same type, name,
version and source_url.
:return: True if it is the same, else False.'

def __eq__(self, other):

    if (type(other) is not type(self)):
        result = False
    else:
        result = ((self.name == other.name) and (self.version == other.version) and (self.source_url == other.source_url))
    return result
