Blob Blame History Raw
diff -rupN PyQt5_gpl-5.11.2/configure.py PyQt5_gpl-5.11.2-new/configure.py
--- PyQt5_gpl-5.11.2/configure.py	2018-07-20 12:50:10.759604422 +0200
+++ PyQt5_gpl-5.11.2-new/configure.py	2018-07-20 12:50:10.761604437 +0200
@@ -636,10 +636,10 @@ class TargetConfiguration:
 
         # Check there is a private copy of the sip module already installed.
         try:
-            from PyQt5 import sip
+            import sip
         except ImportError:
             error(
-                    "Unable to import PyQt5.sip.  Make sure you have "
+                    "Unable to import sip.  Make sure you have "
                     "configured SIP to create a private copy of the sip "
                     "module.")
 
@@ -2908,10 +2908,10 @@ def check_sip(target_config):
 
     # Check there is a private copy of the sip module already installed.
     try:
-        from PyQt5 import sip
+        import sip
     except ImportError:
         error(
-                "Unable to import PyQt5.sip.  Make sure you have configured "
+                "Unable to import PyQt5.  Make sure you have configured "
                 "SIP to create a private copy of the sip module.")
 
     if target_config.sip is None: