mirror of
https://github.com/KanjiVG/kanjivg.git
synced 2026-01-27 00:23:13 +01:00
fix relative imports
This commit is contained in:
@@ -5,6 +5,6 @@ __author__ = metadata.metadata(__name__)['Author']
|
||||
__license__ = metadata.metadata(__name__)['License']
|
||||
__all__ = [__name__]
|
||||
|
||||
from .kanjivg import *
|
||||
from .kvg_lookup import *
|
||||
from .kvg import *
|
||||
from kanjivg import *
|
||||
from kvg_lookup import *
|
||||
from kvg import *
|
||||
@@ -15,8 +15,8 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from .xmlhandler import *
|
||||
from .utils import PYTHON_VERSION_MAJOR, canonicalId
|
||||
from xmlhandler import *
|
||||
from utils import PYTHON_VERSION_MAJOR, canonicalId
|
||||
|
||||
if PYTHON_VERSION_MAJOR > 2:
|
||||
def unicode(s):
|
||||
|
||||
4
kvg.py
4
kvg.py
@@ -17,8 +17,8 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import sys, os, re, datetime
|
||||
from .kanjivg import licenseString
|
||||
from .utils import open
|
||||
from kanjivg import licenseString
|
||||
from utils import open
|
||||
|
||||
verbose = False
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import sys, os, re, datetime
|
||||
from .kanjivg import Stroke, StrokeGr
|
||||
from .utils import listSvgFiles, readXmlFile, canonicalId, PYTHON_VERSION_MAJOR
|
||||
from kanjivg import Stroke, StrokeGr
|
||||
from utils import listSvgFiles, readXmlFile, canonicalId, PYTHON_VERSION_MAJOR
|
||||
|
||||
if PYTHON_VERSION_MAJOR > 2:
|
||||
def unicode(s):
|
||||
|
||||
Reference in New Issue
Block a user