X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/97987728a2c8ca9d3527d9ef34b5d84d8f28ead7..82c0860d1520489be56457829d49eb17f165b9cd:/src/librarian/builders/epub.py?ds=sidebyside diff --git a/src/librarian/builders/epub.py b/src/librarian/builders/epub.py index 902b460..3ef95f4 100644 --- a/src/librarian/builders/epub.py +++ b/src/librarian/builders/epub.py @@ -1,18 +1,19 @@ +# This file is part of Librarian, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. +# from datetime import date +import io import os +import re import tempfile from ebooklib import epub from lxml import etree -import six from librarian import functions, OutputFile, get_resource, XHTMLNS from librarian.cover import make_cover from librarian.embeds.mathml import MathML -import librarian.epub from librarian.fonts import strip_font - - class Xhtml: def __init__(self): self.element = etree.XML('''