11 this script that gets called via the source documentation interface. |
11 this script that gets called via the source documentation interface. |
12 This script can be used via the commandline as well. |
12 This script can be used via the commandline as well. |
13 """ |
13 """ |
14 |
14 |
15 from __future__ import unicode_literals # __IGNORE_WARNING__ |
15 from __future__ import unicode_literals # __IGNORE_WARNING__ |
|
16 try: # Only for Py2 |
|
17 import sip |
|
18 sip.setapi('QString', 2) |
|
19 sip.setapi('QVariant', 2) |
|
20 import Utilities.compatibility_fixes # __IGNORE_WARNING__ |
|
21 except (ImportError): |
|
22 pass |
16 |
23 |
17 import glob |
24 import glob |
18 import os |
25 import os |
19 import sys |
26 import sys |
20 import fnmatch |
27 import fnmatch |