9 |
9 |
10 This is the main Python script to install eric5 plugins from outside of the IDE. |
10 This is the main Python script to install eric5 plugins from outside of the IDE. |
11 """ |
11 """ |
12 |
12 |
13 from __future__ import unicode_literals # __IGNORE_WARNING__ |
13 from __future__ import unicode_literals # __IGNORE_WARNING__ |
|
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__ |
|
19 except (ImportError): |
|
20 pass |
14 |
21 |
15 import sys |
22 import sys |
16 |
23 |
17 for arg in sys.argv: |
24 for arg in sys.argv: |
18 if arg.startswith("--config="): |
25 if arg.startswith("--config="): |