'Create the metainfo files and finally the epub.'

def handle_finish(self):

    self.validate_config_value()
    self.get_toc()
    self.build_mimetype(self.outdir, 'mimetype')
    self.build_container(self.outdir, 'META-INF/container.xml')
    self.build_content(self.outdir, 'content.opf')
    self.build_navigation_doc(self.outdir, 'nav.xhtml')
    self.build_toc(self.outdir, 'toc.ncx')
    self.build_epub(self.outdir, (self.config.epub_basename + '.epub'))
