import path fix

This commit is contained in:
Hiroshi Miura 2011-01-28 20:59:36 +09:00
parent 5e0869d9c9
commit e6e2c066bd
6 changed files with 17 additions and 17 deletions

View File

@ -16,10 +16,10 @@ Tranliterate the string from unicode characters to ASCII in Chinese and others.
''' '''
from unihandecode.unidecoder import Unidecoder from calibre.ebooks.unihandecode.unidecoder import Unidecoder
from unihandecode.jadecoder import Jadecoder from calibre.ebooks.unihandecode.jadecoder import Jadecoder
from unihandecode.krdecoder import Krdecoder from calibre.ebooks.unihandecode.krdecoder import Krdecoder
from unihandecode.vndecoder import Vndecoder from calibre.ebooks.unihandecode.vndecoder import Vndecoder
class Unihandecoder(object): class Unihandecoder(object):
preferred_encoding = None preferred_encoding = None

View File

@ -18,10 +18,10 @@ Copyright (c) 2010 Hiroshi Miura
''' '''
import os, re import os, re
from unihandecode.unidecoder import Unidecoder from calibre.ebooks.unihandecode.unidecoder import Unidecoder
from unihandecode.unicodepoints import CODEPOINTS from calibre.ebooks.unihandecode.unicodepoints import CODEPOINTS
from unihandecode.jacodepoints import CODEPOINTS as JACODES from calibre.ebooks.unihandecode.jacodepoints import CODEPOINTS as JACODES
from unihandecode.pykakasi import kakasi from calibre.ebooks.unihandecode.pykakasi import kakasi
class Jadecoder(Unidecoder): class Jadecoder(Unidecoder):
kakasi = None kakasi = None

View File

@ -11,9 +11,9 @@ Based on unidecoder.
''' '''
import re import re
from unihandecode.unidecoder import Unidecoder from calibre.ebooks.unihandecode.unidecoder import Unidecoder
from unihandecode.krcodepoints import CODEPOINTS as HANCODES from calibre.ebooks.unihandecode.krcodepoints import CODEPOINTS as HANCODES
from unihandecode.unicodepoints import CODEPOINTS from calibre.ebooks.unihandecode.unicodepoints import CODEPOINTS
class Krdecoder(Unidecoder): class Krdecoder(Unidecoder):

View File

@ -1,4 +1,4 @@
from kakasi import kakasi from calibre.ebooks.unihandecode.pykakasi.kakasi import kakasi
__all__ = ["pykakasi"] __all__ = ["pykakasi"]

View File

@ -59,8 +59,8 @@ it under the same terms as Perl itself.
''' '''
import re import re
from unihandecode.unicodepoints import CODEPOINTS from calibre.ebooks.unihandecode.unicodepoints import CODEPOINTS
from unihandecode.zhcodepoints import CODEPOINTS as HANCODES from calibre.ebooks.unihandecode.zhcodepoints import CODEPOINTS as HANCODES
class Unidecoder(object): class Unidecoder(object):

View File

@ -10,9 +10,9 @@ Decode unicode text to an ASCII representation of the text in Vietnamese.
''' '''
import re import re
from unihandecode.unidecoder import Unidecoder from calibre.ebooks.unihandecode.unidecoder import Unidecoder
from unihandecode.vncodepoints import CODEPOINTS as HANCODES from calibre.ebooks.unihandecode.vncodepoints import CODEPOINTS as HANCODES
from unihandecode.unicodepoints import CODEPOINTS from calibre.ebooks.unihandecode.unicodepoints import CODEPOINTS
class Vndecoder(Unidecoder): class Vndecoder(Unidecoder):