src/eric7/PipInterface/Pip.py

branch
eric7-maintenance
changeset 9442
906485dcd210
parent 9371
1da8bc75946f
parent 9413
80c06d472826
child 9549
67295777d9fe
--- a/src/eric7/PipInterface/Pip.py	Sun Oct 02 11:44:07 2022 +0200
+++ b/src/eric7/PipInterface/Pip.py	Sat Oct 29 15:24:59 2022 +0200
@@ -16,13 +16,13 @@
 from PyQt6.QtWidgets import QDialog, QInputDialog, QLineEdit
 from PyQt6.QtNetwork import QNetworkAccessManager, QNetworkRequest, QNetworkReply
 
-from EricWidgets import EricMessageBox
-from EricWidgets.EricApplication import ericApp
+from eric7.EricWidgets import EricMessageBox
+from eric7.EricWidgets.EricApplication import ericApp
 
-from EricNetwork.EricNetworkProxyFactory import proxyAuthenticationRequired
+from eric7.EricNetwork.EricNetworkProxyFactory import proxyAuthenticationRequired
 
 try:
-    from EricNetwork.EricSslErrorHandler import EricSslErrorHandler
+    from eric7.EricNetwork.EricSslErrorHandler import EricSslErrorHandler
 
     SSL_AVAILABLE = True
 except ImportError:
@@ -31,8 +31,7 @@
 from .PipDialog import PipDialog
 from .PipVulnerabilityChecker import PipVulnerabilityChecker
 
-import Preferences
-import Globals
+from eric7 import Globals, Preferences
 
 
 class Pip(QObject):
@@ -508,7 +507,9 @@
         """
         res = False
         if packages and venvName:
-            from UI.DeleteFilesConfirmationDialog import DeleteFilesConfirmationDialog
+            from eric7.UI.DeleteFilesConfirmationDialog import (
+                DeleteFilesConfirmationDialog,
+            )
 
             dlg = DeleteFilesConfirmationDialog(
                 self.parent(),
@@ -547,7 +548,7 @@
                     except OSError:
                         return
 
-                    from UI.DeleteFilesConfirmationDialog import (
+                    from eric7.UI.DeleteFilesConfirmationDialog import (
                         DeleteFilesConfirmationDialog,
                     )
 

eric ide

mercurial