uninstall-debugclients.py

changeset 6364
6a496f0886ad
parent 6188
5a6ae3be31e6
child 6365
85f8745427a6
--- a/uninstall-debugclients.py	Sat Jun 23 15:29:15 2018 +0200
+++ b/uninstall-debugclients.py	Sat Jun 23 17:59:11 2018 +0200
@@ -18,7 +18,10 @@
 import distutils.sysconfig
 
 if sys.version_info[0] == 2:
-    import sip
+    try:
+        import sip
+    except ImportError:
+        from PyQt5 import sip
     sip.setapi('QString', 2)
 
 # Define the globals.

eric ide

mercurial