'Initialize.
@param base_path: An absolute path to the directory in which this OPF file
will eventually be. This is used by the L{create_manifest} method
to convert paths to files into relative paths.'

def __init__(self, base_path, other):

    Metadata.__init__(self, title='', other=other)
    self.base_path = os.path.abspath(base_path)
    self.page_progression_direction = None
    self.primary_writing_mode = None
    if (self.application_id is None):
        self.application_id = str(uuid.uuid4())
    if (not isinstance(self.toc, TOC)):
        self.toc = None
    if (not self.authors):
        self.authors = [_('Unknown')]
    if (self.guide is None):
        self.guide = Guide()
    if self.cover:
        self.guide.set_cover(self.cover)
