Convert calibre modules to ebook_converter.
Here is the first batch of modules, which are needed for converting several formats to LRF. Some of the logic has been change, more cleanups will follow.
This commit is contained in:
1 parent
69d2e536c5
commit
0f9792df36
252 files changed
+1925
-2344
No files matched your search
@@ -13,11 +13,11 @@ __docformat__ = 'restructuredtext en'
|
||||
import struct
|
||||
import os
|
||||
|
||||
from calibre import prepare_string_for_xml
|
||||
from calibre.ebooks.pdb.formatreader import FormatReader
|
||||
from calibre.ebooks.metadata import MetaInformation
|
||||
from calibre.ebooks.txt.processor import opf_writer, HTML_TEMPLATE
|
||||
from polyglot.builtins import range, map
|
||||
from ebook_converter import prepare_string_for_xml
|
||||
from ebook_converter.ebooks.pdb.formatreader import FormatReader
|
||||
from ebook_converter.ebooks.metadata import MetaInformation
|
||||
from ebook_converter.ebooks.txt.processor import opf_writer, HTML_TEMPLATE
|
||||
from ebook_converter.polyglot.builtins import range, map
|
||||
|
||||
BPDB_IDENT = b'BOOKMTIT'
|
||||
UPDB_IDENT = b'BOOKMTIU'
|
||||
|
||||
Reference in new issue
Block a user