diff --git a/src/calibre/ebooks/unihandecode/__init__.py b/src/calibre/ebooks/unihandecode/__init__.py index 1412d6a798..c70f0d8a83 100644 --- a/src/calibre/ebooks/unihandecode/__init__.py +++ b/src/calibre/ebooks/unihandecode/__init__.py @@ -16,10 +16,10 @@ Tranliterate the string from unicode characters to ASCII in Chinese and others. ''' -from unihandecode.unidecoder import Unidecoder -from unihandecode.jadecoder import Jadecoder -from unihandecode.krdecoder import Krdecoder -from unihandecode.vndecoder import Vndecoder +from calibre.ebooks.unihandecode.unidecoder import Unidecoder +from calibre.ebooks.unihandecode.jadecoder import Jadecoder +from calibre.ebooks.unihandecode.krdecoder import Krdecoder +from calibre.ebooks.unihandecode.vndecoder import Vndecoder class Unihandecoder(object): preferred_encoding = None diff --git a/src/calibre/ebooks/unihandecode/jadecoder.py b/src/calibre/ebooks/unihandecode/jadecoder.py index e8d7eac51f..7815a09738 100644 --- a/src/calibre/ebooks/unihandecode/jadecoder.py +++ b/src/calibre/ebooks/unihandecode/jadecoder.py @@ -18,10 +18,10 @@ Copyright (c) 2010 Hiroshi Miura ''' import os, re -from unihandecode.unidecoder import Unidecoder -from unihandecode.unicodepoints import CODEPOINTS -from unihandecode.jacodepoints import CODEPOINTS as JACODES -from unihandecode.pykakasi import kakasi +from calibre.ebooks.unihandecode.unidecoder import Unidecoder +from calibre.ebooks.unihandecode.unicodepoints import CODEPOINTS +from calibre.ebooks.unihandecode.jacodepoints import CODEPOINTS as JACODES +from calibre.ebooks.unihandecode.pykakasi import kakasi class Jadecoder(Unidecoder): kakasi = None diff --git a/src/calibre/ebooks/unihandecode/krdecoder.py b/src/calibre/ebooks/unihandecode/krdecoder.py index 16a2884153..363a8b751a 100644 --- a/src/calibre/ebooks/unihandecode/krdecoder.py +++ b/src/calibre/ebooks/unihandecode/krdecoder.py @@ -11,9 +11,9 @@ Based on unidecoder. ''' import re -from unihandecode.unidecoder import Unidecoder -from unihandecode.krcodepoints import CODEPOINTS as HANCODES -from unihandecode.unicodepoints import CODEPOINTS +from calibre.ebooks.unihandecode.unidecoder import Unidecoder +from calibre.ebooks.unihandecode.krcodepoints import CODEPOINTS as HANCODES +from calibre.ebooks.unihandecode.unicodepoints import CODEPOINTS class Krdecoder(Unidecoder): diff --git a/src/calibre/ebooks/unihandecode/pykakasi/__init__.py b/src/calibre/ebooks/unihandecode/pykakasi/__init__.py index 0afc71bcbf..3131bfb25a 100644 --- a/src/calibre/ebooks/unihandecode/pykakasi/__init__.py +++ b/src/calibre/ebooks/unihandecode/pykakasi/__init__.py @@ -1,4 +1,4 @@ -from kakasi import kakasi +from calibre.ebooks.unihandecode.pykakasi.kakasi import kakasi __all__ = ["pykakasi"] diff --git a/src/calibre/ebooks/unihandecode/unidecoder.py b/src/calibre/ebooks/unihandecode/unidecoder.py index b68a95faaf..a365248948 100644 --- a/src/calibre/ebooks/unihandecode/unidecoder.py +++ b/src/calibre/ebooks/unihandecode/unidecoder.py @@ -59,8 +59,8 @@ it under the same terms as Perl itself. ''' import re -from unihandecode.unicodepoints import CODEPOINTS -from unihandecode.zhcodepoints import CODEPOINTS as HANCODES +from calibre.ebooks.unihandecode.unicodepoints import CODEPOINTS +from calibre.ebooks.unihandecode.zhcodepoints import CODEPOINTS as HANCODES class Unidecoder(object): diff --git a/src/calibre/ebooks/unihandecode/vndecoder.py b/src/calibre/ebooks/unihandecode/vndecoder.py index 7589aae225..09f435e96e 100644 --- a/src/calibre/ebooks/unihandecode/vndecoder.py +++ b/src/calibre/ebooks/unihandecode/vndecoder.py @@ -10,9 +10,9 @@ Decode unicode text to an ASCII representation of the text in Vietnamese. ''' import re -from unihandecode.unidecoder import Unidecoder -from unihandecode.vncodepoints import CODEPOINTS as HANCODES -from unihandecode.unicodepoints import CODEPOINTS +from calibre.ebooks.unihandecode.unidecoder import Unidecoder +from calibre.ebooks.unihandecode.vncodepoints import CODEPOINTS as HANCODES +from calibre.ebooks.unihandecode.unicodepoints import CODEPOINTS class Vndecoder(Unidecoder):