diff --git a/gramps/gen/const.py b/gramps/gen/const.py index bc80ee0a6..2453a0c62 100644 --- a/gramps/gen/const.py +++ b/gramps/gen/const.py @@ -49,7 +49,7 @@ from .constfunc import get_env_var, conv_to_unicode # #------------------------------------------------------------------------- PROGRAM_NAME = "Gramps" -from ..version import VERSION, VERSION_TUPLE, major_version +from gramps.version import VERSION, VERSION_TUPLE, major_version #------------------------------------------------------------------------- # # Standard GRAMPS Websites diff --git a/gramps/gen/merge/test/merge_ref_test.py b/gramps/gen/merge/test/merge_ref_test.py index ecb40721b..4763ea60d 100644 --- a/gramps/gen/merge/test/merge_ref_test.py +++ b/gramps/gen/merge/test/merge_ref_test.py @@ -33,7 +33,7 @@ import libxslt from gramps.plugins.lib.libgrampsxml import GRAMPS_XML_VERSION from ...const import ROOT_DIR, USER_PLUGINS -from ....version import VERSION +from gramps.version import VERSION from ...lib import Name, Surname from ...const import GRAMPS_LOCALE as glocale _ = glocale.translation.sgettext diff --git a/gramps/gen/plug/_pluginreg.py b/gramps/gen/plug/_pluginreg.py index 26b1a0150..b4a20d754 100644 --- a/gramps/gen/plug/_pluginreg.py +++ b/gramps/gen/plug/_pluginreg.py @@ -42,7 +42,7 @@ import io # GRAMPS modules # #------------------------------------------------------------------------- -from ...version import VERSION as GRAMPSVERSION, VERSION_TUPLE +from gramps.version import VERSION as GRAMPSVERSION, VERSION_TUPLE from ..const import IMAGE_DIR from ..const import GRAMPS_LOCALE as glocale _ = glocale.translation.gettext diff --git a/gramps/gen/plug/utils.py b/gramps/gen/plug/utils.py index ffb720b1d..c55d92049 100644 --- a/gramps/gen/plug/utils.py +++ b/gramps/gen/plug/utils.py @@ -50,7 +50,7 @@ LOG = logging.getLogger(".gen.plug") #------------------------------------------------------------------------- from ._pluginreg import make_environment from ..const import USER_PLUGINS -from ...version import VERSION_TUPLE +from gramps.version import VERSION_TUPLE from . import BasePluginManager from ..utils.configmanager import safe_eval from ..config import config