diff -r 5e000d8fc96b -r 11cdcc824469 scripts/install.py --- a/scripts/install.py Sat May 18 18:15:51 2024 +0200 +++ b/scripts/install.py Sun May 19 17:20:16 2024 +0200 @@ -219,12 +219,12 @@ @param dst destination file name @type str """ - if os.path.exists(os.path.join("eric", "src", "eric7", "UI", "Info.py")): + if os.path.exists(os.path.join("eric", "src", "eric7", "__version__.py")): # Installing from installer archive - from eric.src.eric7.UI.Info import Version # noqa: I101, I102 - elif os.path.exists(os.path.join("src", "eric7", "UI", "Info.py")): + from eric.src.eric7.__version__ import Version # noqa: I101, I102 + elif os.path.exists(os.path.join("src", "eric7", "__version__.py")): # Installing from source tree - from src.eric7.UI.Info import Version # noqa: I101, I102 + from src.eric7.__version__ import Version # noqa: I101, I102 else: Version = "Unknown" @@ -1231,12 +1231,12 @@ os.path.join(directories["icns"], "eric.icns"), ) - if os.path.exists(os.path.join("eric", "eric7", "UI", "Info.py")): + if os.path.exists(os.path.join("eric", "eric7", "__version__.py")): # Installing from archive - from eric.eric7.UI.Info import CopyrightShort, Version # noqa: I101, I102 - elif os.path.exists(os.path.join("eric7", "UI", "Info.py")): + from eric.eric7.__version__ import CopyrightShort, Version # noqa: I101, I102 + elif os.path.exists(os.path.join("eric7", "__version__.py")): # Installing from source tree - from eric7.UI.Info import CopyrightShort, Version # noqa: I101 + from eric7.__version__ import CopyrightShort, Version # noqa: I101 else: Version = "Unknown" CopyrightShort = "(c) 2002 - 2024 Detlev Offenbach"