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 |
15 from __future__ import unicode_literals |
16 |
16 |
|
17 import os |
|
18 import sys |
|
19 |
|
20 sys.path.insert(1, os.path.dirname(__file__)) |
|
21 |
17 import Toolbox.PyQt4ImportHook # __IGNORE_WARNING__ |
22 import Toolbox.PyQt4ImportHook # __IGNORE_WARNING__ |
18 |
23 |
19 try: # Only for Py2 |
24 try: # Only for Py2 |
20 import Globals.compatibility_fixes # __IGNORE_WARNING__ |
25 import Globals.compatibility_fixes # __IGNORE_WARNING__ |
21 except (ImportError): |
26 except (ImportError): |
22 pass |
27 pass |
23 |
28 |
24 import glob |
29 import glob |
25 import os |
|
26 import sys |
|
27 import fnmatch |
30 import fnmatch |
28 |
31 |
29 # make ThirdParty package available as a packages repository |
32 # make ThirdParty package available as a packages repository |
30 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
33 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
31 "ThirdParty", "EditorConfig")) |
34 "ThirdParty", "EditorConfig")) |