1
0
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:
Rick Gray
2024-09-15 15:08:42 -05:00
parent 6758a0d1aa
commit 32fbdb5c5d
4 changed files with 9 additions and 9 deletions

View File

@@ -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 *

View File

@@ -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
View File

@@ -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

View File

@@ -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):