def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def __str__(self):
        return "(%s,%s)/%d" % (self.saddr, self.gaddr, self.glen)