diff options
| author | Christoph Berg <christoph.berg@credativ.de> | 2019-03-11 14:19:23 +0100 |
|---|---|---|
| committer | Christoph Berg <christoph.berg@credativ.de> | 2019-03-11 14:19:23 +0100 |
| commit | 200de07a95209a55d6019ba87f0abc78d302bf4c (patch) | |
| tree | 3b2922eb5d89b01ad214cae492e871c3bfb5df18 /contrib/QDarkStyleSheet/script/get_info.py | |
| parent | e0737c56c1e384e05064a0c6e1ac46979371041b (diff) | |
New upstream version 2.0.1+repackupstream/2.0.1+repack
Diffstat (limited to 'contrib/QDarkStyleSheet/script/get_info.py')
| -rw-r--r-- | contrib/QDarkStyleSheet/script/get_info.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/QDarkStyleSheet/script/get_info.py b/contrib/QDarkStyleSheet/script/get_info.py new file mode 100644 index 00000000..91a4d0ce --- /dev/null +++ b/contrib/QDarkStyleSheet/script/get_info.py @@ -0,0 +1,24 @@ + +# -*- coding: utf-8 -*- +"""Script to get system information. +""" + +from __future__ import absolute_import, print_function + +import os +import sys +import qdarkstyle + +def get_info(): + """Process UI files.""" + info = [] + info.append('QDarkStyle: ', qdarkstyle.__version__) + info.append('OS: ', sys.platform) + info.append('Python: ', sys.version) + info.append('QT_API: ', os.getenv['QT_API']) + info.append('PYQTGRAPH_QT_LIB: ', os.getenv['PYQTGRAPH_QT_LIB']) + for item in info: + print(item) + +if __name__ == '__main__': + sys.exit(main(sys.argv[1:])) |
