6543:d9f12defd944 | 6544:51996454f89f |
---|---|
1 # -*- coding: utf-8 -*- | |
2 | |
3 # Copyright (c) 2011 - 2018 Detlev Offenbach <detlev@die-offenbachs.de> | |
4 # | |
5 | |
6 """ | |
7 Module to check for the presence of PySide/PySide2 by importing it. | |
8 """ | |
9 | |
10 from __future__ import print_function | |
11 | |
12 import sys | |
13 import json | |
14 | |
15 if __name__ == "__main__": | |
16 # print sys.path to stdout | |
17 print(json.dumps(sys.path)) | |
18 | |
19 sys.exit(0) | |
20 | |
21 # | |
22 # eflag: noqa = M701, M801 |