mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 20:28:42 -05:00
NEW: simple script to get info
This commit is contained in:
parent
194a232fc9
commit
f5d190452b
24
script/get_info.py
Normal file
24
script/get_info.py
Normal file
@ -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:]))
|
Loading…
Reference in New Issue
Block a user