scripts/uninstall-debugclients.py

branch
without_py2_and_pyqt4
changeset 7192
a22eee00b052
parent 6942
2602857055c5
child 7360
9190402e4505
diff -r 960850ec284c -r a22eee00b052 scripts/uninstall-debugclients.py
--- a/scripts/uninstall-debugclients.py	Sat Aug 31 12:29:57 2019 +0200
+++ b/scripts/uninstall-debugclients.py	Sat Aug 31 12:58:11 2019 +0200
@@ -17,13 +17,6 @@
 import shutil
 import distutils.sysconfig
 
-if sys.version_info[0] == 2:
-    try:
-        from PyQt5 import sip
-    except ImportError:
-        import sip
-    sip.setapi('QString', 2)
-
 # Define the globals.
 progName = None
 currDir = os.getcwd()
@@ -41,7 +34,6 @@
     global currDir
     
     if sys.platform.startswith("win"):
-        # different meaning of input between Py2 and Py3
         try:
             input("Press enter to continue...")
         except (EOFError, SyntaxError):

eric ide

mercurial