def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def read(self, path):
        raise Exception('read called with %r' % path)