10 This is the main Python script to configure the eric5 IDE from the outside. |
10 This is the main Python script to configure the eric5 IDE from the outside. |
11 """ |
11 """ |
12 |
12 |
13 from __future__ import unicode_literals |
13 from __future__ import unicode_literals |
14 try: # Only for Py2 |
14 try: # Only for Py2 |
15 import sip |
|
16 sip.setapi('QString', 2) |
|
17 sip.setapi('QVariant', 2) |
|
18 import Utilities.compatibility_fixes # __IGNORE_WARNING__ |
15 import Utilities.compatibility_fixes # __IGNORE_WARNING__ |
19 except (ImportError): |
16 except (ImportError): |
20 pass |
17 pass |
21 |
18 |
22 import sys |
19 import sys |