scripts/install.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9453
e5065dde905d
child 9482
a2bc06a54d9d
--- a/scripts/install.py	Fri Nov 04 13:46:31 2022 +0100
+++ b/scripts/install.py	Fri Nov 04 13:52:26 2022 +0100
@@ -1213,10 +1213,10 @@
 
     if os.path.exists(os.path.join("eric", "eric7", "UI", "Info.py")):
         # Installing from archive
-        from eric.eric7.UI.Info import Version, CopyrightShort
+        from eric.eric7.UI.Info import CopyrightShort, Version
     elif os.path.exists(os.path.join("eric7", "UI", "Info.py")):
         # Installing from source tree
-        from eric7.UI.Info import Version, CopyrightShort
+        from eric7.UI.Info import CopyrightShort, Version
     else:
         Version = "Unknown"
         CopyrightShort = "(c) 2002 - 2022 Detlev Offenbach"
@@ -1989,8 +1989,8 @@
     @param iconPath path of the icon file
     @type str
     """
+    from pywintypes import com_error
     from win32com.client import Dispatch
-    from pywintypes import com_error
 
     with contextlib.suppress(com_error):
         shell = Dispatch("WScript.Shell")

eric ide

mercurial