eric5_api.py

changeset 3534
325a637dbb14
parent 3178
f25fc1364c88
child 3621
15f23ed3f216
equal deleted inserted replaced
3531:c4b36c72184d 3534:325a637dbb14
9 9
10 This is the main Python script of the API generator. It is 10 This is the main Python script of the API generator. It is
11 this script that gets called via the API generation interface. 11 this script that gets called via the API generation 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
15 from __future__ import unicode_literals
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
14 23
15 import glob 24 import glob
16 import os 25 import os
17 import sys 26 import sys
18 import fnmatch 27 import fnmatch

eric ide

mercurial